bugfix [#23832] Moving a pose bone doesnt update the transform button props realtime.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 22 Sep 2010 14:34:02 +0000 (14:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 22 Sep 2010 14:34:02 +0000 (14:34 +0000)
source/blender/editors/transform/transform.c

index db05537..0acbe60 100644 (file)
@@ -298,7 +298,10 @@ static void viewRedrawForce(const bContext *C, TransInfo *t)
        if (t->spacetype == SPACE_VIEW3D)
        {
                /* Do we need more refined tags? */
-               WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
+               if(t->flag & T_POSE)
+                       WM_event_add_notifier(C, NC_OBJECT|ND_POSE, NULL);
+               else
+                       WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
                
                /* for realtime animation record - send notifiers recognised by animation editors */
                // XXX: is this notifier a lame duck?