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:
authorSergey Sharybin <sergey.vfx@gmail.com>2010-10-14 13:24:25 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2010-10-14 13:24:25 +0400
commit3488b5dd6fae79788b916dba2ffb3d3157f7af8e (patch)
tree41c0c710c016fbc6d7688bd1169c46ed0e445fa1 /source/blender
parent01733ecd6e2bdcaabfc38022a24cf298c27a1cad (diff)
Update outliner when vertex group was added/removed
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 5667ae51ee4..cb51b609a31 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -163,6 +163,14 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn)
case NC_TEXTURE:
ED_region_tag_redraw(ar);
break;
+ case NC_GEOM:
+ switch(wmn->data) {
+ case ND_DATA:
+ /* needed for vertex groups only, no special notifier atm so use NC_GEOM|ND_DATA */
+ ED_region_tag_redraw(ar);
+ break;
+ }
+ break;
}
}