diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 02:15:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 05:42:05 +0300 |
commit | fc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (patch) | |
tree | 36f1e64753753f43ee95bc3da126beb955469e85 /release/scripts/startup/bl_operators/object.py | |
parent | bc39fa947a821f1114fb5594dcd22958f7958df9 (diff) |
Cleanup: unused args/vars/imports in bl_operators
Diffstat (limited to 'release/scripts/startup/bl_operators/object.py')
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index c05ee01c72d..f68b59192b8 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -103,7 +103,7 @@ class SelectPattern(Operator): wm = context.window_manager return wm.invoke_props_popup(self, event) - def draw(self, context): + def draw(self, _context): layout = self.layout layout.prop(self, "pattern") @@ -610,7 +610,6 @@ class MakeDupliFace(Operator): rot = matrix.to_3x3() # also contains scale return [(rot @ b) + trans for b in base_tri] - scene = context.scene linked = defaultdict(list) for obj in context.selected_objects: if obj.type == 'MESH': @@ -895,7 +894,7 @@ class LoadImageAsEmpty: def poll(cls, context): return context.mode == 'OBJECT' - def invoke(self, context, event): + def invoke(self, context, _event): context.window_manager.fileselect_add(self) return {'RUNNING_MODAL'} |