SL-302 WIP - handle the case that node name is NULL

meow-7.2.2
Brad Payne (Vir Linden) 2016-01-15 11:29:34 -05:00
parent 5c8d4e87ea
commit a6c8de97bb
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public:
//-----------------------------------------------------------------------------
bool isNodeAJoint(const char* name)
{
return mJointMap.find(name) != mJointMap.end();
return name != NULL && mJointMap.find(name) != mJointMap.end();
}
protected: