more torquescript template fixes.

This commit is contained in:
Jeff Hutchinson 2021-05-04 22:49:19 -04:00
parent 6f7fdca87d
commit b2bbd771f6
54 changed files with 122 additions and 99 deletions

View file

@ -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 );
}