diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:29:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:31:13 +0300 |
commit | df34f4f1db405c5b8deeb03db0937bee9ba81f42 (patch) | |
tree | 7daaac24ea36db57a8ae0095e5b818190dde4910 /mesh_tissue/polyhedra.py | |
parent | 2502531bb4ab4a76a876c003dab34951da31e1eb (diff) |
Cleanup: fix source comment typos
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D14312
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: |