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:
authorElia Sarti <vekoon@gmail.com>2009-11-26 02:13:47 +0300
committerElia Sarti <vekoon@gmail.com>2009-11-26 02:13:47 +0300
commitaa5227664ab419d5446466fe0b3a368b05281fbe (patch)
treef1cbbcc27978d7948fd622fefc0b56f026bd676f /source/blender/editors/space_outliner/space_outliner.c
parentf6b03893945cac9bd79ed5bfe7eed12b3805c97d (diff)
After talking with Matt about this, added notifier NC_ID to handle ID changes, specifically ND_ID_RENAME for ID renaming. Done for outliner, 3d view and properties editor.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 5c6a8701f18..e3fbb13ed7d 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -147,6 +147,10 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn)
if(wmn->data == ND_SPACE_OUTLINER)
ED_region_tag_redraw(ar);
break;
+ case NC_ID:
+ if(wmn->data == ND_ID_RENAME)
+ ED_region_tag_redraw(ar);
+ break;
}
}