From 42210342cafecbd23fbf5b2ff46b49ebca149cd4 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 6 May 2024 17:44:51 -0400 Subject: [PATCH] Cleanup: Remove outdated references to UV_SCULPT See e3894f0a0708d1619dbfce3fb081f12bcee3f0c3 --- scripts/startup/bl_ui/properties_paint_common.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/startup/bl_ui/properties_paint_common.py b/scripts/startup/bl_ui/properties_paint_common.py index 6ea6cbc261c..6a686d479ca 100644 --- a/scripts/startup/bl_ui/properties_paint_common.py +++ b/scripts/startup/bl_ui/properties_paint_common.py @@ -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