mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Merge pull request #548 from Azaezel/alpha40/glowchanCleanups
kill off glowchan leftovers
This commit is contained in:
commit
be3fd039af
1 changed files with 1 additions and 13 deletions
|
|
@ -1059,7 +1059,6 @@ function MaterialEditorGui::guiSync( %this, %material )
|
||||||
%this.getRoughChan((%material).RoughnessChan[%layer]);
|
%this.getRoughChan((%material).RoughnessChan[%layer]);
|
||||||
%this.getAOChan((%material).AOChan[%layer]);
|
%this.getAOChan((%material).AOChan[%layer]);
|
||||||
%this.getMetalChan((%material).metalChan[%layer]);
|
%this.getMetalChan((%material).metalChan[%layer]);
|
||||||
%this.getGlowChan((%material).glowChan[%layer]);
|
|
||||||
%this.preventUndo = false;
|
%this.preventUndo = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1081,11 +1080,7 @@ function MaterialEditorGui::getMetalChan(%this, %channel)
|
||||||
%guiElement = metalChanBtn @ %channel;
|
%guiElement = metalChanBtn @ %channel;
|
||||||
%guiElement.setStateOn(true);
|
%guiElement.setStateOn(true);
|
||||||
}
|
}
|
||||||
function MaterialEditorGui::getGlowChan(%this, %channel)
|
|
||||||
{
|
|
||||||
%guiElement = glowChanBtn @ %channel;
|
|
||||||
%guiElement.setStateOn(true);
|
|
||||||
}
|
|
||||||
//=======================================
|
//=======================================
|
||||||
// Material Update Functionality
|
// Material Update Functionality
|
||||||
|
|
||||||
|
|
@ -2420,12 +2415,6 @@ function MaterialEditorGui::setMetalChan(%this, %value)
|
||||||
MaterialEditorGui.guiSync( materialEd_previewMaterial );
|
MaterialEditorGui.guiSync( materialEd_previewMaterial );
|
||||||
}
|
}
|
||||||
|
|
||||||
function MaterialEditorGui::setGlowChan(%this, %value)
|
|
||||||
{
|
|
||||||
MaterialEditorGui.updateActiveMaterial("glowChan[" @ MaterialEditorGui.currentLayer @ "]", %value);
|
|
||||||
MaterialEditorGui.guiSync( materialEd_previewMaterial );
|
|
||||||
}
|
|
||||||
|
|
||||||
function MaterialEditorGui::saveCompositeMap(%this)
|
function MaterialEditorGui::saveCompositeMap(%this)
|
||||||
{
|
{
|
||||||
%saveAs = "";
|
%saveAs = "";
|
||||||
|
|
@ -2454,7 +2443,6 @@ function MaterialEditorGui::saveCompositeMap(%this)
|
||||||
%roughMap = %material.getRoughMap(%layer);
|
%roughMap = %material.getRoughMap(%layer);
|
||||||
%aoMap = %material.getAOMap(%layer);
|
%aoMap = %material.getAOMap(%layer);
|
||||||
%metalMap = %material.getMetalMap(%layer);
|
%metalMap = %material.getMetalMap(%layer);
|
||||||
%glowMap = %material.getGlowMap(%layer);
|
|
||||||
|
|
||||||
%roughness = %material.RoughnessChan[%layer];
|
%roughness = %material.RoughnessChan[%layer];
|
||||||
%ao = %material.AOChan[%layer];
|
%ao = %material.AOChan[%layer];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue