Merge pull request #1322 from Areloch/String_isEmpty_Convert

Replace uses of dStrIsEmpty with new String::isEmpty
This commit is contained in:
Areloch 2015-10-31 23:40:13 -05:00
commit 165cdb64e9
11 changed files with 29 additions and 29 deletions

View file

@ -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();