mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 13:25:36 +00:00
more torquescript template fixes.
This commit is contained in:
parent
6f7fdca87d
commit
b2bbd771f6
54 changed files with 122 additions and 99 deletions
|
|
@ -69,6 +69,8 @@ function GuiEditor::createNewProfile( %this, %name, %copySource )
|
|||
|
||||
function GuiEditor::getProfileCategory( %this, %profile )
|
||||
{
|
||||
// TODO
|
||||
%name = "";
|
||||
if( %this.isDefaultProfile( %name ) )
|
||||
return "Default";
|
||||
else if( %profile.category !$= "" )
|
||||
|
|
|
|||
|
|
@ -364,6 +364,10 @@ function GenericUndoAction::learn(%this, %object)
|
|||
%oldFieldNames = %this.fieldNames[%object];
|
||||
%numNewFields = getWordCount(%newFieldNames);
|
||||
%numOldFields = getWordCount(%oldFieldNames);
|
||||
|
||||
%newNullFields = "";
|
||||
%oldNullFields = "";
|
||||
|
||||
// compare the old field list to the new field list.
|
||||
// if a field is on the old list that isn't on the new list,
|
||||
// add it to the newNullFields list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue