Commit 36d96e77 authored by Matthias Möller's avatar Matthias Möller

fix: textnode wasn't screen aligned if option was selected

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16843 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4ddc1cfd
......@@ -81,6 +81,7 @@ void RulerPlugin::showDistance()
lineNode_->set_color(OpenMesh::Vec4f(1.0f,0.0f,0.0f,1.0f));
lineNode_->set_line_width(3);
lineNode_->add_line(Point1,Point2);
lineNode_->alwaysOnTop() = true;
//set params for the text
ACG::Vec3d distVec = Point1 - Point2;
......
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