Fix T87640: Grease Pencil layer visibility/locking not synchronized from Dope Sheet to Properties

Properties Editor is a bit more picky (compared to the Outliner for
example) when it comes to listening to grease pencil notifiers -- it
requires the action to be set.
So when adding the notifier in the dopesheet from the channels (done in
`achannel_setting_flush_widget_cb`), now add the `NA_EDITED` action.

Maniphest Tasks: T87640

Differential Revision: https://developer.blender.org/D11025
This commit is contained in:
Philipp Oeser 2021-04-20 12:23:42 +02:00
parent 1a6b51e175
commit 26ab90e49b
Notes: blender-bot 2023-02-14 09:29:42 +01:00
Referenced by issue #87640, Grease Pencil layer visibility/locking not synchronized from Dope Sheet to Properties
1 changed files with 1 additions and 1 deletions

View File

@ -4666,7 +4666,7 @@ static void achannel_setting_flush_widget_cb(bContext *C, void *ale_npoin, void
}
/* UI updates */
WM_event_add_notifier(C, NC_GPENCIL | ND_DATA, NULL);
WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL);
}
/* Tag for full animation update, so that the settings will have an effect. */