Commit 25a3f587 authored by Jan Möbius's avatar Jan Möbius

Fixed flickering when adding skeleton joints

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12427 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 37474104
......@@ -848,12 +848,15 @@ void SkeletonEditingPlugin::insertJoint(QMouseEvent* _event)
// set joint position
setJointPosition(PluginFunctions::skeletonObject(baseObject), joint, lastHitPoint);
emit updatedObject(baseObject->id(), UPDATE_ALL);
Skeleton::Joint* tmpJoint = new Skeleton::Joint(joint);
skeleton->addJoint(joint, tmpJoint);
setJointPosition(PluginFunctions::skeletonObject(baseObject), tmpJoint, lastHitPoint);
currentJoint_ = tmpJoint->id();
}
Skeleton::Joint* tmpJoint = new Skeleton::Joint(joint);
skeleton->addJoint(joint, tmpJoint);
currentJoint_ = tmpJoint->id();
}
}
......
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