Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-22 18:34:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-22 18:34:02 +0400
commitaa7db99a38ec4c50b84fdf4b417d4dda7a89d838 (patch)
tree4208b17db1370c734890e964fa48fa4490527079 /source/blender/editors/transform/transform.c
parent9387d46772e3abcd9cfff611008b611a18ca05a9 (diff)
bugfix [#23832] Moving a pose bone doesnt update the transform button props realtime.
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r--source/blender/editors/transform/transform.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index db055377d8a..0acbe608f41 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -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?