Fix: GPv3: Hide sculpt automasking properties in UI
Automasking is not functional. Better to not expose it through the UI. See: #130022. Pull Request: https://projects.blender.org/blender/blender/pulls/130064
This commit is contained in:

committed by
Falk David

parent
3f3f8d315d
commit
56beccb563
@@ -4012,10 +4012,6 @@ def km_grease_pencil_sculpt_mode(params):
|
||||
# Active layer
|
||||
op_menu("GREASE_PENCIL_MT_layer_active", {"type": 'Y', "value": 'PRESS'}),
|
||||
|
||||
# Auto-masking menu.
|
||||
op_menu_pie("VIEW3D_MT_grease_pencil_sculpt_automasking_pie", {
|
||||
"type": 'A', "value": 'PRESS', "shift": True, "alt": True}),
|
||||
|
||||
*_template_paint_radial_control("gpencil_sculpt_paint"),
|
||||
op_asset_shelf_popup(
|
||||
"VIEW3D_AST_brush_gpencil_sculpt",
|
||||
|
@@ -951,12 +951,6 @@ class VIEW3D_HT_header(Header):
|
||||
panel="VIEW3D_PT_grease_pencil_guide",
|
||||
text="Guides",
|
||||
)
|
||||
if object_mode == 'SCULPT_GREASE_PENCIL':
|
||||
layout.popover(
|
||||
panel="VIEW3D_PT_grease_pencil_sculpt_automasking",
|
||||
text="",
|
||||
icon=VIEW3D_HT_header._grease_pencil_sculpt_automasking_icon(tool_settings.gpencil_sculpt),
|
||||
)
|
||||
|
||||
elif object_mode == 'SCULPT':
|
||||
# If the active tool supports it, show the canvas selector popover.
|
||||
|
Reference in New Issue
Block a user