Commit 9c43a53d authored by Dirk Wilden's avatar Dirk Wilden

added primaryNode()


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8728 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2f83d6d5
...@@ -233,6 +233,10 @@ SeparatorNode* BaseObjectData::baseNode() { ...@@ -233,6 +233,10 @@ SeparatorNode* BaseObjectData::baseNode() {
return separatorNode_; return separatorNode_;
} }
BaseNode* BaseObjectData::primaryNode() {
return separatorNode_;
}
QtTranslationManipulatorNode* BaseObjectData::manipulatorNode() { QtTranslationManipulatorNode* BaseObjectData::manipulatorNode() {
return manipulatorNode_; return manipulatorNode_;
} }
......
...@@ -188,6 +188,10 @@ class DLLEXPORT BaseObjectData : public BaseObject ...@@ -188,6 +188,10 @@ class DLLEXPORT BaseObjectData : public BaseObject
*/ */
SeparatorNode* baseNode(); SeparatorNode* baseNode();
/** get the primary node of this object (Use this node to change drawModes)
*/
virtual BaseNode* primaryNode();
/** get the ManipulatorNode node of this object (Use this node to add custom Nodes to the Object /** get the ManipulatorNode node of this object (Use this node to add custom Nodes to the Object
* which should be transformed with the manipulator of the Object) * which should be transformed with the manipulator of the Object)
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment