diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-20 22:50:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-20 22:50:18 +0400 |
commit | 15eb3452ecd96e4d79d438e8c954918639dc283d (patch) | |
tree | 438936332d24c6a1095cad0051fdd742c2f77d22 /release/scripts/startup/bl_operators/mesh.py | |
parent | 2e20d3dc9610b702788092e9d72689b971ed9f69 (diff) |
style cleanup: pep8, also quiet compiler warning.
Diffstat (limited to 'release/scripts/startup/bl_operators/mesh.py')
-rw-r--r-- | release/scripts/startup/bl_operators/mesh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/mesh.py b/release/scripts/startup/bl_operators/mesh.py index 2d4c703dbf2..a54de25dbc7 100644 --- a/release/scripts/startup/bl_operators/mesh.py +++ b/release/scripts/startup/bl_operators/mesh.py @@ -100,7 +100,7 @@ class MeshMirrorUV(Operator): vidxs[i] = tuple(sorted(l.vertex_index for l in loops[lstart:lend])) # As we have no poly.center yet... - pcents[i] = tuple(map(lambda x : x / p.loop_total, + pcents[i] = tuple(map(lambda x: x / p.loop_total, map(sum, zip(*(verts[idx].co for idx in vidxs[i]))))) # Preparing next step finding matching polys. |