Commit 5c860fad authored by Matthias Möller's avatar Matthias Möller

- fix: add button when trying to create a new skeleton

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13485 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 52929c3a
...@@ -240,7 +240,7 @@ bool SkeletonEditingPlugin::canModify(QMouseEvent* _event) ...@@ -240,7 +240,7 @@ bool SkeletonEditingPlugin::canModify(QMouseEvent* _event)
{ {
//if jointPreview_ is true, we could modify the skeleton //if jointPreview_ is true, we could modify the skeleton
//so the skeleton is in reference pose //so the skeleton is in reference pose
if (jointPreview_) if (jointPreview_ || (PluginFunctions::pickMode() == ("InsertJoints") && _event->type() == QEvent::MouseButtonDblClick))
return true; return true;
// try to select a joint from which the insertion should be started // try to select a joint from which the insertion should be started
......
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