mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +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) );
|
||||
|
||||
pushInstantGroup();
|
||||
%objId = eval(%cmd);
|
||||
%objId = eval("return " @ %cmd);
|
||||
popInstantGroup();
|
||||
|
||||
if( isObject( %objId ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue