From 4907e8df202cea41e52b33a0f6a6f852e3a07818 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Mon, 25 Jan 2010 19:42:33 +0000 Subject: Remove unneeded notifier data added in revision 26219. Fix a lot of notifier calls to stop abusing ND_TRANSFORM and use more appropriate data flags. --- source/blender/editors/space_buttons/space_buttons.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/editors/space_buttons/space_buttons.c') diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 0acdd2825f5..17f5c6bf7c3 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -279,6 +279,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) case ND_TRANSFORM: buttons_area_redraw(sa, BCONTEXT_OBJECT); break; + case ND_POSE: case ND_BONE_ACTIVE: case ND_BONE_SELECT: buttons_area_redraw(sa, BCONTEXT_BONE); @@ -303,8 +304,6 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) /* currently works by redraws... if preview is set, it (re)starts job */ sbuts->preview= 1; break; - case ND_VIEW3D_TRANSFORM: - break; /*do nothing*/ default: /* Not all object RNA props have a ND_ notifier (yet) */ ED_area_tag_redraw(sa); -- cgit v1.2.3