mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #592 from Ragora/bugfix-worldeditor-datablock-spawning
* BugFix: Correct an object spawning error
This commit is contained in:
commit
0f89373782
|
|
@ -227,7 +227,7 @@ function EWCreatorWindow::createObject( %this, %cmd )
|
|||
%this.setNewObjectGroup( getScene(0) );
|
||||
|
||||
pushInstantGroup();
|
||||
%objId = eval(%cmd);
|
||||
%objId = eval("return " @ %cmd);
|
||||
popInstantGroup();
|
||||
|
||||
if( isObject( %objId ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue