Fix: Grease Pencil panels / buttons not displaying
Introduced with a combination of6957242a53and4434a30d40Pull Request: https://projects.blender.org/blender/blender/pulls/144654
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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="")
|
||||
|
||||
Reference in New Issue
Block a user