diff options
-rw-r--r-- | add_mesh_solid.py | 2 | ||||
-rw-r--r-- | io_import_scene_lwo.py | 4 | ||||
-rw-r--r-- | io_scene_obj/import_obj.py | 4 | ||||
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/add_mesh_solid.py b/add_mesh_solid.py index d0b1417c..f43eea70 100644 --- a/add_mesh_solid.py +++ b/add_mesh_solid.py @@ -43,7 +43,7 @@ from bpy_extras.object_utils import object_data_add # assumes each polygon is convex. # poly: list of faces, or a single face, like those # needed for mesh.from_pydata. -# returns the tesselated faces. +# returns the tessellated faces. def createPolys(poly): # check for faces if len(poly) == 0: diff --git a/io_import_scene_lwo.py b/io_import_scene_lwo.py index be786e10..1a1aec10 100644 --- a/io_import_scene_lwo.py +++ b/io_import_scene_lwo.py @@ -68,7 +68,7 @@ import chunk import bpy import mathutils -from mathutils.geometry import tesselate_polygon +from mathutils.geometry import tessellate_polygon class _obj_layer(object): @@ -1133,7 +1133,7 @@ def build_objects(object_layers, object_surfs, object_tags, object_name, add_sub v_locs= [] for vi in range(len(ng)): v_locs.append(mathutils.Vector(layer_data.pnts[ngons[ng_key][vi]])) - tris= tesselate_polygon([v_locs]) + tris= tessellate_polygon([v_locs]) me.faces.add(len(tris)) for tri in tris: face= me.faces[face_offset] diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 40da59db..b3be1f45 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -428,7 +428,7 @@ def create_mesh(new_objects, Takes all the data gathered and generates a mesh, adding the new object to new_objects deals with fgons, sharp edges and assigning materials ''' - from bpy_extras.mesh_utils import ngon_tesselate + from bpy_extras.mesh_utils import ngon_tessellate if not has_ngons: use_ngons = False @@ -490,7 +490,7 @@ def create_mesh(new_objects, # FGons into triangles if has_ngons and len_face_vert_loc_indices > 4: - ngon_face_indices = ngon_tesselate(verts_loc, face_vert_loc_indices) + ngon_face_indices = ngon_tessellate(verts_loc, face_vert_loc_indices) faces.extend([([face_vert_loc_indices[ngon[0]], face_vert_loc_indices[ngon[1]], face_vert_loc_indices[ngon[2]], diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index 3ba3580f..8bd40659 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -525,7 +525,7 @@ def export(file, mesh_id_coords = prefix_quoted_str(mesh_id, 'coords_') mesh_id_normals = prefix_quoted_str(mesh_id, 'normals_') - # tesselation faces may not exist + # tessellation faces may not exist if not mesh.faces and mesh.polygons: mesh.update(calc_tessface=True) |