mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Merge pull request #1135 from Azaezel/alpha41/particlePunt
hide particleemitter dupes
This commit is contained in:
commit
762a0cbb9c
1 changed files with 7 additions and 0 deletions
|
|
@ -222,6 +222,13 @@ function ParticleEditor::resetEmitterNode( %this )
|
||||||
|
|
||||||
ParticleEditor.updateEmitterNode();
|
ParticleEditor.updateEmitterNode();
|
||||||
}
|
}
|
||||||
|
if (EWorldEditor.getSelectionSize()>0)
|
||||||
|
{
|
||||||
|
%obj = EWorldEditor.getSelectedObject(0);
|
||||||
|
if (%obj.isMemberOfClass("ParticleEmitterNode"))
|
||||||
|
$ParticleEditor::emitterNode.sethidden(true);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue