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>2011-05-26 13:33:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-26 13:33:51 +0400
commit26252bb3154395965f5499bd5264474f9d93b787 (patch)
tree8b021e9d654ebc6d7270937ef20b30407ab2d3b7 /release/scripts/modules/bpy_extras/mesh_utils.py
parentea19f154004cb28b684c70be8b937e0056c715dc (diff)
correct spelling error and some pep8 changes.
Diffstat (limited to 'release/scripts/modules/bpy_extras/mesh_utils.py')
-rw-r--r--release/scripts/modules/bpy_extras/mesh_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py
index ee7bceedb6e..9ec8ee98e41 100644
--- a/release/scripts/modules/bpy_extras/mesh_utils.py
+++ b/release/scripts/modules/bpy_extras/mesh_utils.py
@@ -162,6 +162,7 @@ def edge_loops_from_faces(mesh, faces=None, seams=()):
return edge_loops
+
def edge_loops_from_edges(mesh, edges=None):
"""
Edge loops defined by edges
@@ -227,8 +228,7 @@ def edge_loops_from_edges(mesh, edges=None):
return line_polys
-
-def ngon_tessellate(from_data, indices, fix_loops=True):
+def ngon_tesselate(from_data, indices, fix_loops=True):
'''
Takes a polyline of indices (fgon)
and returns a list of face indicie lists.
@@ -238,7 +238,7 @@ def ngon_tessellate(from_data, indices, fix_loops=True):
indices: a list of indices to use this list is the ordered closed polyline to fill, and can be a subset of the data given.
fix_loops: If this is enabled polylines that use loops to make multiple polylines are delt with correctly.
'''
-
+
from mathutils import Vector
vector_to_tuple = Vector.to_tuple