mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 07:39:27 +00:00
Merge pull request #1322 from Areloch/String_isEmpty_Convert
Replace uses of dStrIsEmpty with new String::isEmpty
This commit is contained in:
commit
165cdb64e9
11 changed files with 29 additions and 29 deletions
|
|
@ -648,7 +648,7 @@ DefineConsoleMethod(Settings, setValue, void, (const char * settingName, const c
|
|||
{
|
||||
StringTableEntry fieldName = StringTable->insert( settingName );
|
||||
|
||||
if (!dStrIsEmpty(value))
|
||||
if (!String::isEmpty(value))
|
||||
object->setValue( fieldName, value );
|
||||
else
|
||||
object->setValue( fieldName );
|
||||
|
|
|
|||
|
|
@ -504,7 +504,7 @@ void UndoManager::popCompound( bool discard )
|
|||
DefineConsoleMethod(UndoAction, addToManager, void, (const char * undoManager), (""), "action.addToManager([undoManager])")
|
||||
{
|
||||
UndoManager *theMan = NULL;
|
||||
if (!dStrIsEmpty(undoManager))
|
||||
if (!String::isEmpty(undoManager))
|
||||
{
|
||||
SimObject *obj = Sim::findObject(undoManager);
|
||||
if(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue