Cleanup: Remove outdated references to UV_SCULPT

See e3894f0a07
This commit is contained in:
Hans Goudey
2024-05-06 17:44:51 -04:00
parent 80092fe1e0
commit 42210342ca

View File

@@ -54,8 +54,6 @@ class UnifiedPaintPanel:
if space_data:
space_type = space_data.type
if space_type == 'IMAGE_EDITOR':
if space_data.show_uvedit:
return 'UV_SCULPT'
return 'PAINT_2D'
elif space_type in {'VIEW_3D', 'PROPERTIES'}:
if mode == 'PAINT_TEXTURE':
@@ -86,8 +84,6 @@ class UnifiedPaintPanel:
# 2D paint settings
elif mode == 'PAINT_2D':
return tool_settings.image_paint
elif mode == 'UV_SCULPT':
return tool_settings.uv_sculpt
# Grease Pencil settings
elif mode == 'PAINT_GPENCIL':
return tool_settings.gpencil_paint
@@ -911,11 +907,6 @@ def brush_shared_settings(layout, context, brush, popover=False):
if brush.weight_tool == 'DRAW':
blend_mode = True
# UV Sculpt #
if mode == 'UV_SCULPT':
size = True
strength = True
# Sculpt Curves #
if mode == 'SCULPT_CURVES':
size = True