mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +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
|
|
@ -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