From 5c860fadad5bbc3658d60020eb4e97623b6fe4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Wed, 25 Jan 2012 11:14:38 +0000 Subject: [PATCH] - 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 --- SkeletonEditingPlugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkeletonEditingPlugin.cc b/SkeletonEditingPlugin.cc index 4681588..869f14e 100644 --- a/SkeletonEditingPlugin.cc +++ b/SkeletonEditingPlugin.cc @@ -240,7 +240,7 @@ bool SkeletonEditingPlugin::canModify(QMouseEvent* _event) { //if jointPreview_ is true, we could modify the skeleton //so the skeleton is in reference pose - if (jointPreview_) + if (jointPreview_ || (PluginFunctions::pickMode() == ("InsertJoints") && _event->type() == QEvent::MouseButtonDblClick)) return true; // try to select a joint from which the insertion should be started -- GitLab