diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_console.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_info.py | 8 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 6bd2dea3e7b..e58d5117bc3 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -1221,7 +1221,7 @@ class CLIP_PT_tools_grease_pencil_draw(AnnotationDrawingToolsPanel, Panel): class CLIP_MT_view_zoom(Menu): bl_label = "Fractional Zoom" - def draw(self, context): + def draw(self, _context): layout = self.layout ratios = ((1, 8), (1, 4), (1, 2), (1, 1), (2, 1), (4, 1), (8, 1)) diff --git a/release/scripts/startup/bl_ui/space_console.py b/release/scripts/startup/bl_ui/space_console.py index a56928a0589..54a72cf59d0 100644 --- a/release/scripts/startup/bl_ui/space_console.py +++ b/release/scripts/startup/bl_ui/space_console.py @@ -129,7 +129,7 @@ class CONSOLE_MT_console(Menu): class CONSOLE_MT_context_menu(Menu): bl_label = "Console Context Menu" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("console.clear") diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py index b7b0326106e..82ed701aa4c 100644 --- a/release/scripts/startup/bl_ui/space_info.py +++ b/release/scripts/startup/bl_ui/space_info.py @@ -34,7 +34,7 @@ class INFO_MT_editor_menus(Menu): bl_idname = "INFO_MT_editor_menus" bl_label = "" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.menu("INFO_MT_view") layout.menu("INFO_MT_info") @@ -43,7 +43,7 @@ class INFO_MT_editor_menus(Menu): class INFO_MT_view(Menu): bl_label = "View" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.menu("INFO_MT_area") @@ -52,7 +52,7 @@ class INFO_MT_view(Menu): class INFO_MT_info(Menu): bl_label = "Info" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("info.select_all", text="Select All").action = 'SELECT' @@ -107,7 +107,7 @@ class INFO_MT_area(Menu): class INFO_MT_context_menu(Menu): bl_label = "Info Context Menu" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("info.report_copy", text="Copy") diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index e6ab9d1e9de..381808e8479 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -187,7 +187,7 @@ class SEQUENCER_MT_range(Menu): class SEQUENCER_MT_preview_zoom(Menu): bl_label = "Fractional Zoom" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator_context = 'INVOKE_REGION_PREVIEW' diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index de05a357211..a232146c82d 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -490,7 +490,7 @@ class _defs_edit_mesh: @ToolDef.from_fn def poly_build(): - def draw_settings(context, layout, tool): + def draw_settings(_context, layout, tool): props = tool.operator_properties("mesh.polybuild_face_at_cursor_move") props_macro = props.MESH_OT_polybuild_face_at_cursor layout.prop(props_macro, "create_quads") @@ -987,7 +987,7 @@ class _defs_sculpt: @ToolDef.from_fn def mesh_filter(): - def draw_settings(context, layout, tool): + def draw_settings(_context, layout, tool): props = tool.operator_properties("sculpt.mesh_filter") layout.prop(props, "type", expand=False) layout.prop(props, "strength") diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index acb42e0545b..6f4d59e3e05 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2810,7 +2810,7 @@ class VIEW3D_MT_paint_weight(Menu): class VIEW3D_MT_sculpt(Menu): bl_label = "Sculpt" - def draw(self, context): + def draw(self, _context): layout = self.layout props = layout.operator("paint.hide_show", text="Show All") |