diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2019-06-14 19:48:42 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2019-06-14 19:48:42 +0300 |
commit | e76b223ea3e110485146d299714504ef84adf634 (patch) | |
tree | 232cadf861f3f2322664571a463fa9be9be27643 /source/blender/editors/space_buttons | |
parent | f51de2246c7916e7855421263253bc12a6764a24 (diff) |
Outliner - Notify on GP Layer Change
This adds NA_SELECTED to notifier when selecting Grease Pencil layers so Properties Editor will update
Differential Revision: https://developer.blender.org/D5073
Reviewed by Dalai Felinto
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 9b0150d731d..129f249d7d0 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -510,7 +510,7 @@ static void buttons_area_listener(wmWindow *UNUSED(win), case NC_GPENCIL: switch (wmn->data) { case ND_DATA: - if (ELEM(wmn->action, NA_EDITED, NA_ADDED, NA_REMOVED)) { + if (ELEM(wmn->action, NA_EDITED, NA_ADDED, NA_REMOVED, NA_SELECTED)) { ED_area_tag_redraw(sa); } break; |