diff options
Diffstat (limited to 'mesh_tissue/polyhedra.py')
-rw-r--r-- | mesh_tissue/polyhedra.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_tissue/polyhedra.py b/mesh_tissue/polyhedra.py index 394d605a..d58f08aa 100644 --- a/mesh_tissue/polyhedra.py +++ b/mesh_tissue/polyhedra.py @@ -174,7 +174,7 @@ class polyhedra_wireframe(Operator): verts1 = [v.index for v in f1.verts] va1 = verts1.index(e.verts[0].index) vb1 = verts1.index(e.verts[1].index) - # chech if order of the edge matches the order of the face + # check if order of the edge matches the order of the face dir1 = va1 == (vb1+1)%len(verts1) edge_vec1 = edge_vec if dir1 else -edge_vec @@ -190,7 +190,7 @@ class polyhedra_wireframe(Operator): verts2 = [v.index for v in f2.verts] va2 = verts2.index(e.verts[0].index) vb2 = verts2.index(e.verts[1].index) - # chech if order of the edge matches the order of the face + # check if order of the edge matches the order of the face dir2 = va2 == (vb2+1)%len(verts2) # check for normal consistency if dir1 != dir2: |