diff options
author | Martin Buerbaum <martin.buerbaum@gmx.at> | 2012-02-21 18:10:53 +0400 |
---|---|---|
committer | Martin Buerbaum <martin.buerbaum@gmx.at> | 2012-02-21 18:10:53 +0400 |
commit | a034575797eb343baa581a5b160716a37cf5a2e9 (patch) | |
tree | 0ff0805b89442ffc21ca96b8e9fecc8ff11fbf41 /space_view3d_panel_measure.py | |
parent | 86b67eace2014f6bf2ae45ddee06ab6308d0c375 (diff) |
* PEP8 cleanup
Diffstat (limited to 'space_view3d_panel_measure.py')
-rw-r--r-- | space_view3d_panel_measure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/space_view3d_panel_measure.py b/space_view3d_panel_measure.py index c65e41c2..22e201f3 100644 --- a/space_view3d_panel_measure.py +++ b/space_view3d_panel_measure.py @@ -323,7 +323,7 @@ def polyAreaGlobal(poly, obj): if len(poly.vertices) > 4: # n-Gon (5++) - verts = poly.vertices # vertex indices + verts = poly.vertices nr = poly.loop_total # first: find dominant axis: 0==X, 1==Y, 2==Z @@ -578,6 +578,7 @@ def checkManifold(obj): else: return -1 + # Check if a mesh has n-gons (polygon with more than 4 edges). def checkNgon(obj): if obj and obj.type == 'MESH' and obj.data: @@ -592,6 +593,7 @@ def checkNgon(obj): else: return -1 + # User friendly access to the "space" setting. def measureGlobal(sce): return (sce.measure_panel_transform == "measure_global") |