From 98ff6cfa575bbe9680e5a0abf176a9d748ecc2b8 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Wed, 4 Dec 2019 14:13:21 +0100 Subject: GPencil: Add Opacity y Onion switch to Dopesheet Add new icons and panels Grease Pencil Dopesheet to manage layers without having the properties panel visible. Also, the icons are in the same order in Dopesheet, Layers and Material list to keep consistency. As the number of columns for icons is limited to 3 and we also need use a factor, I have impleted the change using slider area. Also, the slider option is enabled by default for 2D Template. See T72026 for more info. Reviewed By: mendio, pepeland, billreynish Differential Revision: https://developer.blender.org/D6328 --- source/blender/editors/gpencil/gpencil_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/gpencil/gpencil_utils.c') diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 91af444c28a..300d7d9e925 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -105,6 +105,7 @@ bGPdata **ED_gpencil_data_get_pointers_direct( /* XXX: Should we reduce reliance on context.gpencil_data for these cases? */ case SPACE_PROPERTIES: /* properties */ case SPACE_INFO: /* header info (needed after workspaces merge) */ + case SPACE_ACTION: /* Dopesheet header. */ { if (ob && (ob->type == OB_GPENCIL)) { /* GP Object */ -- cgit v1.2.3