From 691cb61835dcf8964cb1e6110a4d369665fa1f21 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Tue, 17 Feb 2015 02:11:17 +0100 Subject: Fix for another missing update from GPencil in Outliner --- source/blender/editors/space_outliner/space_outliner.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 30de9c16500..e1aea8892b5 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -388,11 +388,8 @@ static void outliner_main_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa) } break; case NC_GPENCIL: - switch (wmn->data) { - case ND_DATA: - ED_region_tag_redraw(ar); - break; - } + if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) + ED_region_tag_redraw(ar); break; } -- cgit v1.2.3