Cleanup: unused arguments

This commit is contained in:
2021-03-06 18:21:17 +11:00
parent bd79691599
commit 9dc0c44aa1
19 changed files with 43 additions and 42 deletions

View File

@@ -37,7 +37,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
ob = context.object
return ob and ob.type != 'GPENCIL'
def draw(self, context):
def draw(self, _context):
layout = self.layout
layout.operator_menu_enum("object.modifier_add", "type")
layout.template_modifiers()
@@ -51,7 +51,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
ob = context.object
return ob and ob.type == 'GPENCIL'
def draw(self, context):
def draw(self, _context):
layout = self.layout
layout.operator_menu_enum("object.gpencil_modifier_add", "type")
layout.template_grease_pencil_modifiers()