mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 19:13:47 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
bcc5459818
commit
27e2871b01
33 changed files with 304 additions and 304 deletions
|
|
@ -218,8 +218,8 @@ InspectorFieldUndoAction::InspectorFieldUndoAction()
|
|||
{
|
||||
mObjId = 0;
|
||||
mField = NULL;
|
||||
mSlotName = StringTable->insert("");
|
||||
mArrayIdx = StringTable->insert("");
|
||||
mSlotName = StringTable->EmptyString();
|
||||
mArrayIdx = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
InspectorFieldUndoAction::InspectorFieldUndoAction( const UTF8 *actionName )
|
||||
|
|
@ -228,8 +228,8 @@ InspectorFieldUndoAction::InspectorFieldUndoAction( const UTF8 *actionName )
|
|||
mInspector = NULL;
|
||||
mObjId = 0;
|
||||
mField = NULL;
|
||||
mSlotName = StringTable->insert("");
|
||||
mArrayIdx = StringTable->insert("");
|
||||
mSlotName = StringTable->EmptyString();
|
||||
mArrayIdx = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
void InspectorFieldUndoAction::initPersistFields()
|
||||
|
|
@ -272,4 +272,4 @@ void InspectorFieldUndoAction::undo()
|
|||
// Now save the previous data in this UndoAction
|
||||
// since an undo action must become a redo action and vice-versa
|
||||
mData = data;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue