From cac573c5072d9208b5137da44c02db98576506cd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Oct 2025 16:19:52 +1100 Subject: [PATCH] Cleanup: unused argument, variable warnings --- scripts/startup/bl_ui/properties_paint_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/properties_paint_common.py b/scripts/startup/bl_ui/properties_paint_common.py index dcf789c5f77..b4709708532 100644 --- a/scripts/startup/bl_ui/properties_paint_common.py +++ b/scripts/startup/bl_ui/properties_paint_common.py @@ -114,6 +114,7 @@ class BrushAssetShelf: @classmethod def draw_context_menu(self, context, asset, layout): + del context, asset # Currently this menu adds operators that deal with the affected brush and don't take the # asset into account. Luckily that is okay for now, since right clicking in the grid view # also activates the item. @@ -1087,7 +1088,7 @@ def brush_settings(layout, context, brush, popover=False): def brush_shared_settings(layout, context, brush, popover=False): """ Draw simple brush settings that are shared between different paint modes. """ - paint = UnifiedPaintPanel.paint_settings(context) + # paint paint = UnifiedPaintPanel.paint_settings(context) # UNUSED. mode = UnifiedPaintPanel.get_brush_mode(context) ### Determine which settings to draw. ###