Duplicating changes in the tools folder over to the Empty template for parity.

This commit is contained in:
Areloch 2016-07-09 20:08:25 -05:00
parent a2a4b1c5e3
commit 10df58f716
21 changed files with 1070 additions and 74 deletions

View file

@ -315,7 +315,7 @@ function DecalEditorGui::updateDecalPreview( %this, %material )
if( isObject( %material ) )
DecalPreviewWindow-->decalPreview.setBitmap( MaterialEditorGui.searchForTexture( %material.getId(), %material.diffuseMap[0]) );
else
DecalPreviewWindow-->decalPreview.setBitmap("tools/materialeditor/gui/unknownImage");
DecalPreviewWindow-->decalPreview.setBitmap("tools/materialEditor/gui/unknownImage");
}
function DecalEditorGui::updateInstancePreview( %this, %material )
@ -323,7 +323,7 @@ function DecalEditorGui::updateInstancePreview( %this, %material )
if( isObject( %material ) )
DecalPreviewWindow-->instancePreview.setBitmap( MaterialEditorGui.searchForTexture( %material.getId(), %material.diffuseMap[0]) );
else
DecalPreviewWindow-->instancePreview.setBitmap("tools/materialeditor/gui/unknownImage");
DecalPreviewWindow-->instancePreview.setBitmap("tools/materialEditor/gui/unknownImage");
}
function DecalEditorGui::rebuildInstanceTree( %this )