mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.
This commit is contained in:
parent
8a55feebef
commit
6e8fa7215a
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