Skip to content
Snippets Groups Projects
Commit 4fbf06f6 authored by vahrenkamp's avatar vahrenkamp
Browse files

Fixing check for NULL parent node (root nodes do not have a parent)

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@164 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 1ce145a2
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ protected:
//Stefan
virtual std::vector<std::string> getChildrenNames() const {return childrenNames;};
virtual std::string getParentName() const {return parent->getName();};
virtual std::string getParentName() const {if (parent) return parent->getName(); else return std::string();};
float jointValueOffset;
float jointLimitLo,jointLimitHi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment