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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-09 02:15:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-09 05:42:05 +0300
commitfc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (patch)
tree36f1e64753753f43ee95bc3da126beb955469e85 /release/scripts/startup/bl_operators/uvcalc_follow_active.py
parentbc39fa947a821f1114fb5594dcd22958f7958df9 (diff)
Cleanup: unused args/vars/imports in bl_operators
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_follow_active.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_follow_active.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
index cf987222750..d7a86302312 100644
--- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py
+++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py
@@ -31,7 +31,7 @@ STATUS_ERR_NOT_SELECTED = (1 << 2)
STATUS_ERR_NOT_QUAD = (1 << 3)
-def extend(obj, operator, EXTEND_MODE):
+def extend(obj, EXTEND_MODE):
import bmesh
me = obj.data
@@ -119,7 +119,7 @@ def extend(obj, operator, EXTEND_MODE):
l_b_inner[:] = l_a_inner
l_b_outer[:] = l_a_inner + ((l_a_inner - l_a_outer) * fac)
- def apply_uv(f_prev, l_prev, f_next):
+ def apply_uv(_f_prev, l_prev, _f_next):
l_a = [None, None, None, None]
l_b = [None, None, None, None]
@@ -232,7 +232,7 @@ def main(context, operator):
for ob in ob_list:
num_meshes += 1
- ret = extend(ob, operator, operator.properties.mode)
+ ret = extend(ob, operator.properties.mode)
if ret != STATUS_OK:
num_errors += 1
status |= ret
@@ -272,7 +272,7 @@ class FollowActiveQuads(Operator):
main(context, self)
return {'FINISHED'}
- def invoke(self, context, event):
+ def invoke(self, context, _event):
wm = context.window_manager
return wm.invoke_props_dialog(self)