SL-302 WIP - handle the case that node name is NULL
parent
5c8d4e87ea
commit
a6c8de97bb
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue