From 3488b5dd6fae79788b916dba2ffb3d3157f7af8e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 14 Oct 2010 09:24:25 +0000 Subject: [PATCH] Update outliner when vertex group was added/removed --- source/blender/editors/space_outliner/space_outliner.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } }