From 1c8bee7da2a80ffb177eea2d5b5e34c853901e66 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Mon, 18 Aug 2025 00:27:35 +0200 Subject: [PATCH] Fix: Grease Pencil panels / buttons not displaying Introduced with a combination of 6957242a53 and 4434a30d40 Pull Request: https://projects.blender.org/blender/blender/pulls/144654 --- scripts/startup/bl_ui/properties_paint_common.py | 2 +- scripts/startup/bl_ui/space_view3d.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/startup/bl_ui/properties_paint_common.py b/scripts/startup/bl_ui/properties_paint_common.py index 56c83900d78..5e8aafa0706 100644 --- a/scripts/startup/bl_ui/properties_paint_common.py +++ b/scripts/startup/bl_ui/properties_paint_common.py @@ -1625,7 +1625,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False) tool_settings = context.tool_settings settings = tool_settings.gpencil_paint gp_settings = brush.gpencil_settings - ups = tool_settings.unified_paint_settings + ups = settings.unified_paint_settings brush_prop_owner = ups if ups.use_unified_size else brush tool = context.workspace.tools.from_space_view3d_mode(context.mode, create=False) if gp_settings is None: diff --git a/scripts/startup/bl_ui/space_view3d.py b/scripts/startup/bl_ui/space_view3d.py index a938dfc4224..2f086bd83d1 100644 --- a/scripts/startup/bl_ui/space_view3d.py +++ b/scripts/startup/bl_ui/space_view3d.py @@ -8570,7 +8570,7 @@ class VIEW3D_PT_greasepencil_vertex_paint_context_menu(Panel): row.prop(brush, "use_pressure_size", text="", icon='STYLUS_PRESSURE') if brush.gpencil_vertex_brush_type in {'DRAW', 'BLUR', 'SMEAR'}: - ups = tool_settings.unified_paint_settings + ups = settings.unified_paint_settings strength_owner = ups if ups.use_unified_strength else brush row = layout.row(align=True) row.prop(strength_owner, "strength", text="")