Commit f190c5f0 authored by Mike Kremer's avatar Mike Kremer

Started new attempt to fix rotation center issue.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6294 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3369527c
......@@ -454,11 +454,6 @@ void MovePlugin::manipulatorMoved( QtTranslationManipulatorNode* _node , QMouseE
int objectId = _node->getIdentifier();
if (objectId == -1){
OpenFlipper::Options::redrawDisabled( false );
return;
}
ACG::Matrix4x4d mat;
mat.identity();
mat = _node->matrix();
......@@ -487,6 +482,8 @@ void MovePlugin::manipulatorMoved( QtTranslationManipulatorNode* _node , QMouseE
}
}
PluginFunctions::setSceneCenter(_node->center(), PluginFunctions::ALL_VIEWERS );
lastActiveManipulator_ = objectId;
updateManipulatorDialog();
}
......
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