Commit 33c22918 authored by Dirk Wilden's avatar Dirk Wilden

fixed marker problem

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10600 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c414cf82
......@@ -306,7 +306,13 @@ void SkeletonEditingPlugin::slotRotateManipulator(bool _toggled)
{
QtTranslationManipulatorNode::ManipulatorMode mode;
if (_toggled){
bool ourPickMode = (PluginFunctions::actionMode() == Viewer::PickingMode)
&&( ( PluginFunctions::pickMode() == ("DeleteJoints") )
||( PluginFunctions::pickMode() == ("InsertJoints") )
||( PluginFunctions::pickMode() == ("MoveJoints") )
||( PluginFunctions::pickMode() == ("SelectJoints") ));
if (_toggled && ourPickMode){
mode = QtTranslationManipulatorNode::LocalRotation;
PluginFunctions::setViewObjectMarker (&objectMarker_);
} else {
......
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