Commit 8034c82f authored by Matthias Möller's avatar Matthias Möller
Browse files

fix ruler plugin with multiple viewers and qt5

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent af0cc5d1
......@@ -285,13 +285,6 @@ void RulerPlugin::slotViewChanged()
if (!currentRuler_)
// check, if this function requested a viewupdate
if (viewupdated_)
viewupdated_ = false;
//compute line direction
ACG::Vec3d lineVector = currentRuler_->points()[0] - currentRuler_->points()[1];
ACG::Vec3d rightVec = (PluginFunctions::viewingDirection() % -PluginFunctions::upVector()).normalize();
......@@ -316,9 +309,6 @@ void RulerPlugin::slotViewChanged()
// small offset to the right and big offset up/down depending on the line
viewupdated_ = true;
emit updateView();
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