diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-14 02:51:41 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-14 02:51:41 +0300 |
commit | a4d52bd0fd180e2934ebed21a7d2aab84cc5b5a9 (patch) | |
tree | 0321ee1ae540ee49e9d60f04ca5cda23fee9cbac /source/blender/editors/space_buttons | |
parent | 3f612b6ea5b15b0a868f1472053378949722c88a (diff) |
patch [#20342] Notifier patch for modifier rename and particle system rename
by 'ThatHaze'. thanks!
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index f6b376f6e8e..160343cf940 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -271,6 +271,9 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) case ND_BONE_ACTIVE: case ND_BONE_SELECT: case ND_MODIFIER: + if(wmn->action == NA_RENAME) + ED_area_tag_redraw(sa); + break; case ND_CONSTRAINT: ED_area_tag_redraw(sa); break; @@ -311,7 +314,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn) ED_area_tag_redraw(sa); break; case NC_ID: - if(wmn->data == ND_ID_RENAME) + if(wmn->action == NA_RENAME) ED_area_tag_redraw(sa); break; } |