Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 18:59:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:12:29 +0300
commitd7d3233715503ecc15b8dd1973f7e73257e2cbda (patch)
treef9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /mesh_inset
parent84b817117328b3193533324846ec389b1f5fe5c4 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'mesh_inset')
-rw-r--r--mesh_inset/geom.py4
-rw-r--r--mesh_inset/model.py4
-rw-r--r--mesh_inset/triquad.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/mesh_inset/geom.py b/mesh_inset/geom.py
index dce2a818..4d3e652b 100644
--- a/mesh_inset/geom.py
+++ b/mesh_inset/geom.py
@@ -454,7 +454,7 @@ class TransformMatrix(object):
[ a b 0 ]
[ c d 0 ]
[ e f 1 ]
- and coordinate tranformation is defined by:
+ and coordinate transformation is defined by:
[x' y' 1] = [x y 1] x TransformMatrix
Attributes:
@@ -501,7 +501,7 @@ class TransformMatrix(object):
self.f = newf
def Apply(self, pt):
- """Return the result of applying this tranform to pt = (x,y).
+ """Return the result of applying this transform to pt = (x,y).
Arguments:
(x, y) : (float, float)
diff --git a/mesh_inset/model.py b/mesh_inset/model.py
index a3eb2aac..446a7c4c 100644
--- a/mesh_inset/model.py
+++ b/mesh_inset/model.py
@@ -413,8 +413,8 @@ def _GetFaceGraph(faces, edges, vtoe, points):
face_adj = [[] for i in range(len(faces))]
is_interior_edge = [False] * len(edges)
for e, ((vs, ve), f) in enumerate(edges):
- for othere in vtoe[ve]:
- ((_, we), g) = edges[othere]
+ for other in vtoe[ve]:
+ ((_, we), g) = edges[other]
if we == vs:
# face g is adjacent to face f
# TODO: angle check
diff --git a/mesh_inset/triquad.py b/mesh_inset/triquad.py
index 0c4fc84a..b94da8b0 100644
--- a/mesh_inset/triquad.py
+++ b/mesh_inset/triquad.py
@@ -520,7 +520,7 @@ def _ReveresedEdges(tris, td, bord, points):
def _IsReversed(e, td, points):
"""If e=(a,b) is a non-border edge, with left-face triangle tl and
right-face triangle tr, then it is 'reversed' if the circle through
- a, b, and (say) the other vertex of tl containts the other vertex of tr.
+ a, b, and (say) the other vertex of tl contains the other vertex of tr.
td is a _TriDict, for finding triangles containing edges, and points
gives the coordinates for vertex indices used in edges."""