From bbcb4be04fd468b8a93d919b4fc50767817ef701 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 6 Sep 2019 23:33:11 +0200 Subject: Fix T69597: Changing Grease Pencil Layer in Dopesheet unlocks all layers The Dopesheet was unlocked all layers because it was using the same logic used in UI panel, but this was wrong. --- source/blender/editors/space_action/action_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_action/action_select.c') diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index cbf4d0628e6..912cd0407e3 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -1724,7 +1724,7 @@ static void mouse_action_keys(bAnimContext *ac, /* Update other layer status. */ if (BKE_gpencil_layer_getactive(gpd) != gpl) { BKE_gpencil_layer_setactive(gpd, gpl); - BKE_gpencil_layer_autolock_set(gpd); + BKE_gpencil_layer_autolock_set(gpd, false); WM_main_add_notifier(NC_GPENCIL | ND_DATA | NA_EDITED, NULL); } } -- cgit v1.2.3