mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-18 20:00:56 +00:00
Merge pull request #796 from Azaezel/alpha40/particlePlop
fix particle emitter asset browser spawning
This commit is contained in:
commit
8e15369db9
1 changed files with 3 additions and 2 deletions
|
|
@ -1657,9 +1657,10 @@ function RibbonData::create( %datablock )
|
|||
|
||||
function ParticleEmitterData::create( %datablock )
|
||||
{
|
||||
%obj = new ParticleEmitter()
|
||||
%obj = new ParticleEmitterNode()
|
||||
{
|
||||
dataBlock = %datablock;
|
||||
emitter = %datablock;
|
||||
dataBlock = "DefaultEmitterNodeData";
|
||||
parentGroup = ObjectCreator.objectGroup;
|
||||
};
|
||||
return %obj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue