Blender Git Commit Log

Git Commits -> Revision fe7ea8a

Revision fe7ea8a by Philipp Oeser (master)
April 3, 2020, 08:37 (GMT)
Fix T75250: setting greasepencil active layer not refreshing the dopesheet

This was only reported for the 'Change Active Layer' operator [which was
not setting the channel as selected in the dopesheet], but this is also
the case elsewhere [where BKE_gpencil_layer_active_set is used], namely:
- gp_layer_remove_exec
- gp_layer_copy_exec
- gp_merge_layer_exec
- gp_layer_change_exec
- gp_layer_active_exec
- gp_stroke_separate_exec

We could set GP_LAYER_SELECT "by hand" in
BKE_gpencil_layer_active_set(), but there is already
animchan_sync_gplayer() that does that. For this, we need the
NA_SELECTED notifier though.

Maniphest Tasks: T75250

Differential Revision: https://developer.blender.org/D7311

Commit Details:

Full Hash: fe7ea8a24c8a147078d033b76d9a37a84042368c
Parent Commit: a2a70cf
Lines Changed: +6, -0

2 Modified Paths:

/source/blender/editors/gpencil/gpencil_data.c (+5, -0) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021