mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
* [Editor] BugFix: Correct an object spawning error when attempting to drag and drop datablocks from the asset browser where they would always spawn at origin.
This commit is contained in:
parent
2e153e43e0
commit
d7919950bf
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ function EWCreatorWindow::createObject( %this, %cmd )
|
||||||
%this.setNewObjectGroup( getScene(0) );
|
%this.setNewObjectGroup( getScene(0) );
|
||||||
|
|
||||||
pushInstantGroup();
|
pushInstantGroup();
|
||||||
%objId = eval(%cmd);
|
%objId = eval("return " @ %cmd);
|
||||||
popInstantGroup();
|
popInstantGroup();
|
||||||
|
|
||||||
if( isObject( %objId ) )
|
if( isObject( %objId ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue