From 30b712ed68dd72583357180741e845efb5952ad9 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 17 Jul 2010 13:18:11 +0000 Subject: 48Hr Bugfix: Paste pose not correctly updating Removed some antiquated cruft that used to work around the old anim-system. --- source/blender/editors/armature/poseobject.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 6fdce9b9c41..6b71ed1ca7a 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -1046,17 +1046,7 @@ static int pose_paste_exec (bContext *C, wmOperator *op) /* Update event for pose and deformation children */ DAG_id_flush_update(&ob->id, OB_RECALC_DATA); - - if (IS_AUTOKEY_ON(scene)) { -// XXX remake_action_ipos(ob->action); - } - else { - /* need to trick depgraph, action is not allowed to execute on pose */ - // XXX: this is probably not an issue anymore - where_is_pose(scene, ob); - ob->recalc= 0; - } - + /* notifiers for updates */ WM_event_add_notifier(C, NC_OBJECT|ND_POSE, ob); -- cgit v1.2.3