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:
authorMatt Ebb <matt@mke3.net>2009-12-10 12:58:10 +0300
committerMatt Ebb <matt@mke3.net>2009-12-10 12:58:10 +0300
commit9c5019a9a9acd33c4757a0a1d4f0944c92e57ffd (patch)
tree74a8717b59d0f25dfde219008543ac47c7d8364c /source/blender/editors/space_action
parent7fcb5d33ffec43da4f98d4a84b1cbb35d068c9a5 (diff)
Notifier related fixes:
[#20319] 3D View - need 3D cursor notifier [#20321] Views not receiving the NC_ID notifier
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/space_action.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index 0bf3e3f70cb..0cbc2ce9078 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -291,6 +291,13 @@ static void action_channel_area_listener(ARegion *ar, wmNotifier *wmn)
break;
}
break;
+ case NC_ID:
+ switch(wmn->data) {
+ case ND_ID_RENAME:
+ ED_region_tag_redraw(ar);
+ break;
+ }
+ break;
default:
if(wmn->data==ND_KEYS)
ED_region_tag_redraw(ar);
@@ -331,6 +338,14 @@ static void action_main_area_listener(ARegion *ar, wmNotifier *wmn)
break;
}
break;
+ case NC_ID:
+ switch(wmn->data) {
+ case ND_ID_RENAME:
+ ED_region_tag_redraw(ar);
+ break;
+ }
+ break;
+
default:
if(wmn->data==ND_KEYS)
ED_region_tag_redraw(ar);