diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
commit | 1f74789d1250033eed6c5b9c86df5274c1339581 (patch) | |
tree | f8352e592b8cf883b8b4f6d8f6d20bbdb3c4d0b8 /release/scripts/modules/bpy_extras | |
parent | 9467ddb9037c3486bcbe80e9b9be510c05dfe526 (diff) |
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`
Diffstat (limited to 'release/scripts/modules/bpy_extras')
-rw-r--r-- | release/scripts/modules/bpy_extras/anim_utils.py | 2 | ||||
-rw-r--r-- | release/scripts/modules/bpy_extras/mesh_utils.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py index 6b0ab1c3adc..c4ec805a72d 100644 --- a/release/scripts/modules/bpy_extras/anim_utils.py +++ b/release/scripts/modules/bpy_extras/anim_utils.py @@ -158,7 +158,7 @@ def bake_action(frame_start, # ------------------------------------------------------------------------- # Create action - # in case animation data hassnt been created + # in case animation data hasn't been created atd = obj.animation_data_create() if action is None: action = bpy.data.actions.new("Action") diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py index 8149675000f..601ffae4796 100644 --- a/release/scripts/modules/bpy_extras/mesh_utils.py +++ b/release/scripts/modules/bpy_extras/mesh_utils.py @@ -167,7 +167,7 @@ def edge_loops_from_faces(mesh, faces=None, seams=()): flipped = False while 1: - # from knowing the last 2, look for th next. + # from knowing the last 2, look for the next. ed_adj = edges[context_loop[-1]] if len(ed_adj) != 2: # the original edge had 2 other edges @@ -175,7 +175,7 @@ def edge_loops_from_faces(mesh, faces=None, seams=()): flipped = True # only flip the list once context_loop.reverse() ed_adj[:] = [] - context_loop.append(other_dir) # save 1 lookiup + context_loop.append(other_dir) # save 1 look-up ed_adj = edges[context_loop[-1]] if len(ed_adj) != 2: @@ -375,7 +375,7 @@ def ngon_tesselate(from_data, indices, fix_loops=True): if s1[0][1] == s1[-1][1]: # remove endpoints double s1.pop() - s2[:] = [] # Empty this segment s2 so we dont use it again. + s2[:] = [] # Empty this segment s2 so we don't use it again. return True joining_segments = True |