mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -168,7 +168,7 @@ DefineConsoleFunction( loadColladaLights, bool, (const char * filename, const ch
|
|||
// the MissionGroup if not specified.
|
||||
SimGroup* missionGroup = dynamic_cast<SimGroup*>(Sim::findObject("MissionGroup"));
|
||||
SimGroup* group = 0;
|
||||
if (!dStrIsEmpty(parentGroup)){
|
||||
if (!String::isEmpty(parentGroup)){
|
||||
if (!Sim::findObject(parentGroup, group)) {
|
||||
// Create the group if it could not be found
|
||||
group = new SimGroup;
|
||||
|
|
@ -187,7 +187,7 @@ DefineConsoleFunction( loadColladaLights, bool, (const char * filename, const ch
|
|||
|
||||
// Optional object to provide the base transform
|
||||
MatrixF offset(true);
|
||||
if (!dStrIsEmpty(baseObject)){
|
||||
if (!String::isEmpty(baseObject)){
|
||||
SceneObject *obj;
|
||||
if (Sim::findObject(baseObject, obj))
|
||||
offset = obj->getTransform();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue