Cleanup: unused argument, variable warnings
This commit is contained in:
@@ -114,6 +114,7 @@ class BrushAssetShelf:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def draw_context_menu(self, context, asset, layout):
|
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
|
# 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
|
# asset into account. Luckily that is okay for now, since right clicking in the grid view
|
||||||
# also activates the item.
|
# 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):
|
def brush_shared_settings(layout, context, brush, popover=False):
|
||||||
""" Draw simple brush settings that are shared between different paint modes. """
|
""" 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)
|
mode = UnifiedPaintPanel.get_brush_mode(context)
|
||||||
|
|
||||||
### Determine which settings to draw. ###
|
### Determine which settings to draw. ###
|
||||||
|
|||||||
Reference in New Issue
Block a user