|
@@ -1059,7 +1059,6 @@ function MaterialEditorGui::guiSync( %this, %material )
|
|
|
%this.getRoughChan((%material).RoughnessChan[%layer]);
|
|
|
%this.getAOChan((%material).AOChan[%layer]);
|
|
|
%this.getMetalChan((%material).metalChan[%layer]);
|
|
|
- %this.getGlowChan((%material).glowChan[%layer]);
|
|
|
%this.preventUndo = false;
|
|
|
}
|
|
|
|
|
@@ -1081,11 +1080,7 @@ function MaterialEditorGui::getMetalChan(%this, %channel)
|
|
|
%guiElement = metalChanBtn @ %channel;
|
|
|
%guiElement.setStateOn(true);
|
|
|
}
|
|
|
-function MaterialEditorGui::getGlowChan(%this, %channel)
|
|
|
-{
|
|
|
- %guiElement = glowChanBtn @ %channel;
|
|
|
- %guiElement.setStateOn(true);
|
|
|
-}
|
|
|
+
|
|
|
//=======================================
|
|
|
// Material Update Functionality
|
|
|
|
|
@@ -2420,12 +2415,6 @@ function MaterialEditorGui::setMetalChan(%this, %value)
|
|
|
MaterialEditorGui.guiSync( materialEd_previewMaterial );
|
|
|
}
|
|
|
|
|
|
-function MaterialEditorGui::setGlowChan(%this, %value)
|
|
|
-{
|
|
|
- MaterialEditorGui.updateActiveMaterial("glowChan[" @ MaterialEditorGui.currentLayer @ "]", %value);
|
|
|
- MaterialEditorGui.guiSync( materialEd_previewMaterial );
|
|
|
-}
|
|
|
-
|
|
|
function MaterialEditorGui::saveCompositeMap(%this)
|
|
|
{
|
|
|
%saveAs = "";
|