diff options
author | Julian Eisel <julian_eisel@web.de> | 2015-02-17 04:11:17 +0300 |
---|---|---|
committer | Julian Eisel <julian_eisel@web.de> | 2015-02-17 04:12:23 +0300 |
commit | 691cb61835dcf8964cb1e6110a4d369665fa1f21 (patch) | |
tree | 57416b18b88486bb72f0ddf0565c6bf130787c32 /source/blender/editors/space_outliner | |
parent | 89412028cefd9454b12f3ddf6580a8d1414b58c7 (diff) |
Fix for another missing update from GPencil in Outliner
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 7 |
1 files changed, 2 insertions, 5 deletions
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; } |