Implemented KRNode::getParent()

--HG--
extra : source : 1bad435929f774f4da192fba4204fd7a85b17f01
This commit is contained in:
2013-11-18 23:52:03 -08:00
parent 29b518610b
commit a8a8f32e77
2 changed files with 5 additions and 0 deletions

View File

@@ -450,6 +450,10 @@ const std::set<KRNode *> &KRNode::getChildren() {
return m_childNodes;
}
KRNode *KRNode::getParent() {
return m_parentNode;
}
const std::string &KRNode::getName() const {
return m_name;
}

View File

@@ -58,6 +58,7 @@ public:
void addChild(KRNode *child);
const std::set<KRNode *> &getChildren();
KRNode *getParent();
void setLocalTranslation(const KRVector3 &v, bool set_original = false);
void setLocalScale(const KRVector3 &v, bool set_original = false);