Commit ea557dec authored by Isaak Lim's avatar Isaak Lim

- fixed a bug in TextNode where the scaling factor of a possible parent...

- fixed a bug in TextNode where the scaling factor of a possible parent TransformNode was not considered 
refs #269

- switched to screen aligned display style of the TextNode in RulerPlugin 
refs #741

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14704 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f704366a
......@@ -158,7 +158,7 @@ void RulerPlugin::slotMouseEvent(QMouseEvent* _event)
if (!object->getAdditionalNode(textNode_,name(),textNodeName_.c_str()))
{
textNode_ = new ACG::SceneGraph::TextNode(textTransformNode_,textNodeName_,ACG::SceneGraph::TextNode::OBJECT_ALIGNED);
textNode_ = new ACG::SceneGraph::TextNode(textTransformNode_,textNodeName_,ACG::SceneGraph::TextNode::SCREEN_ALIGNED);
object->addAdditionalNode(textNode_,name(),textNodeName_.c_str());
}
......
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