diff options
-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; } |