From 7e12131aaf065feddacbab9894b942f3312e3239 Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Fri, 15 Nov 2024 12:10:28 +0100 Subject: [PATCH] Fix: GPv3: Adjustment panel in dopesheet Missed in b4881f6b0afc74bceba3821ff6824899c9d99132 Expose adjustment panel in Grease pencil dopesheet side panel as done for others in 6e137f957f59fabc07f5a030118d1f1bf9ca9aa9 Pull Request: https://projects.blender.org/blender/blender/pulls/130311 --- scripts/startup/bl_ui/space_dopesheet.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/startup/bl_ui/space_dopesheet.py b/scripts/startup/bl_ui/space_dopesheet.py index 7e0eecb1bfa..0580ecd8d5a 100644 --- a/scripts/startup/bl_ui/space_dopesheet.py +++ b/scripts/startup/bl_ui/space_dopesheet.py @@ -13,6 +13,7 @@ from bl_ui.properties_data_grease_pencil import ( GreasePencil_LayerMaskPanel, GreasePencil_LayerTransformPanel, GreasPencil_LayerRelationsPanel, + GreasePencil_LayerAdjustmentsPanel, ) from rna_prop_ui import PropertyPanel @@ -961,6 +962,15 @@ class DOPESHEET_PT_grease_pencil_layer_relations( bl_options = {'DEFAULT_CLOSED'} +class DOPESHEET_PT_grease_pencil_layer_adjustments( + GreasePencilLayersDopeSheetPanel, + GreasePencil_LayerAdjustmentsPanel, + Panel): + bl_label = "Adjustments" + bl_parent_id = "DOPESHEET_PT_grease_pencil_mode" + bl_options = {'DEFAULT_CLOSED'} + + classes = ( DOPESHEET_HT_header, DOPESHEET_PT_proportional_edit, @@ -986,6 +996,7 @@ classes = ( DOPESHEET_PT_grease_pencil_mode, DOPESHEET_PT_grease_pencil_layer_masks, DOPESHEET_PT_grease_pencil_layer_transform, + DOPESHEET_PT_grease_pencil_layer_adjustments, DOPESHEET_PT_grease_pencil_layer_relations, )