diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-10-14 13:24:25 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-10-14 13:24:25 +0400 |
commit | 3488b5dd6fae79788b916dba2ffb3d3157f7af8e (patch) | |
tree | 41c0c710c016fbc6d7688bd1169c46ed0e445fa1 | |
parent | 01733ecd6e2bdcaabfc38022a24cf298c27a1cad (diff) |
Update outliner when vertex group was added/removed
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 8 |
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; } } |