mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
more torquescript template fixes.
This commit is contained in:
parent
6f7fdca87d
commit
b2bbd771f6
54 changed files with 122 additions and 99 deletions
|
|
@ -79,7 +79,7 @@ function ActionCreateDatablock::redo( %this )
|
|||
%this.editor.selectDatablock( %db );
|
||||
%this.editor.flagInspectorAsDirty( true );
|
||||
|
||||
UnlistedDatablocks.remove( %id );
|
||||
UnlistedDatablocks.remove( %db );
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------
|
||||
|
|
@ -99,7 +99,7 @@ function ActionCreateDatablock::undo( %this )
|
|||
%this.dbName = %db.name;
|
||||
%db.name = "";
|
||||
|
||||
UnlistedDatablocks.add( %this.db );
|
||||
UnlistedDatablocks.add( %db );
|
||||
}
|
||||
|
||||
//=============================================================================================
|
||||
|
|
@ -155,5 +155,5 @@ function ActionDeleteDatablock::undo( %this )
|
|||
|
||||
// Remove from unlisted.
|
||||
|
||||
UnlistedDatablocks.remove( %id );
|
||||
UnlistedDatablocks.remove( %db );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue