Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_operators/object.py')
-rw-r--r--release/scripts/startup/bl_operators/object.py5
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'}