Implemented KRNode::getParent()
--HG-- branch : nfb
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user