Commit 929519e0 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

fixed some small bugs

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6706 383ad7c9-94d9-4d36-a494-682f7c89f535
parent db93dedf
...@@ -264,6 +264,7 @@ void MovePlugin::slotMouseEvent( QMouseEvent* _event ) ...@@ -264,6 +264,7 @@ void MovePlugin::slotMouseEvent( QMouseEvent* _event )
placeAction_->isChecked ())) { placeAction_->isChecked ())) {
placeManip(_event); placeManip(_event);
placeAction_->setChecked(false);
updateManipulatorDialog(); updateManipulatorDialog();
return; return;
} }
...@@ -485,8 +486,6 @@ void MovePlugin::manipulatorMoved( QtTranslationManipulatorNode* _node , QMouseE ...@@ -485,8 +486,6 @@ void MovePlugin::manipulatorMoved( QtTranslationManipulatorNode* _node , QMouseE
} }
} }
PluginFunctions::setSceneCenter(_node->center(), PluginFunctions::ALL_VIEWERS );
lastActiveManipulator_ = objectId; lastActiveManipulator_ = objectId;
updateManipulatorDialog(); updateManipulatorDialog();
} }
...@@ -617,6 +616,7 @@ void MovePlugin::placeManip(QMouseEvent * _event) ...@@ -617,6 +616,7 @@ void MovePlugin::placeManip(QMouseEvent * _event)
*/ */
void MovePlugin::showManipulators( ) void MovePlugin::showManipulators( )
{ {
if (!hide_ && (toolboxActive_ || (PluginFunctions::pickMode() == "Move") if (!hide_ && (toolboxActive_ || (PluginFunctions::pickMode() == "Move")
|| (PluginFunctions::pickMode() == "MoveSelection"))) { || (PluginFunctions::pickMode() == "MoveSelection"))) {
for (PluginFunctions::ObjectIterator o_it(PluginFunctions::ALL_OBJECTS); o_it for (PluginFunctions::ObjectIterator o_it(PluginFunctions::ALL_OBJECTS); o_it
......
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