mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1217 from Azaezel/alpha41/crashFyxMatED
temp workaround for material editor crash
This commit is contained in:
commit
429585f060
|
|
@ -745,8 +745,9 @@ function MaterialEditorGui::setActiveMaterial( %this, %material )
|
|||
MaterialEditorGui.lastMaterial = %material;
|
||||
|
||||
// we create or recreate a material to hold in a pristine state
|
||||
if(isObject(notDirtyMaterial))
|
||||
notDirtyMaterial.delete();
|
||||
// or, this crashes the ap. fix properly - BJR
|
||||
// if(isObject(notDirtyMaterial))
|
||||
// notDirtyMaterial.delete();
|
||||
|
||||
singleton Material(notDirtyMaterial)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue