Commit 362ad5c5 authored by Mike Kremer's avatar Mike Kremer

Split joints by clicking on the bone.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 29611749
...@@ -439,7 +439,7 @@ void SkeletonEditingPlugin::splitJoint(QMouseEvent* _event) ...@@ -439,7 +439,7 @@ void SkeletonEditingPlugin::splitJoint(QMouseEvent* _event)
o_it->enablePicking( o_it->dataType(DATA_SKELETON) ); o_it->enablePicking( o_it->dataType(DATA_SKELETON) );
//perform picking //perform picking
bool successfullyPicked = PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_VERTEX, _event->pos(), node_idx, bool successfullyPicked = PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_ANYTHING, _event->pos(), node_idx,
target_idx, &hitPoint) && PluginFunctions::getPickedObject(node_idx, object); target_idx, &hitPoint) && PluginFunctions::getPickedObject(node_idx, object);
//reenable picking for anything //reenable picking for anything
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