[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3151] trunk/py/scripts/addons: correct spelling tessellate

Campbell Barton ideasman42 at gmail.com
Wed Mar 21 22:44:55 CET 2012


Revision: 3151
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3151
Author:   campbellbarton
Date:     2012-03-21 21:44:55 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
correct spelling tessellate

Modified Paths:
--------------
    trunk/py/scripts/addons/add_mesh_solid.py
    trunk/py/scripts/addons/io_import_scene_lwo.py
    trunk/py/scripts/addons/io_scene_obj/import_obj.py
    trunk/py/scripts/addons/io_scene_x3d/export_x3d.py

Modified: trunk/py/scripts/addons/add_mesh_solid.py
===================================================================
--- trunk/py/scripts/addons/add_mesh_solid.py	2012-03-21 20:29:52 UTC (rev 3150)
+++ trunk/py/scripts/addons/add_mesh_solid.py	2012-03-21 21:44:55 UTC (rev 3151)
@@ -43,7 +43,7 @@
 # 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:

Modified: trunk/py/scripts/addons/io_import_scene_lwo.py
===================================================================
--- trunk/py/scripts/addons/io_import_scene_lwo.py	2012-03-21 20:29:52 UTC (rev 3150)
+++ trunk/py/scripts/addons/io_import_scene_lwo.py	2012-03-21 21:44:55 UTC (rev 3151)
@@ -68,7 +68,7 @@
 
 import bpy
 import mathutils
-from mathutils.geometry import tesselate_polygon
+from mathutils.geometry import tessellate_polygon
 
 
 class _obj_layer(object):
@@ -1133,7 +1133,7 @@
                 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]

Modified: trunk/py/scripts/addons/io_scene_obj/import_obj.py
===================================================================
--- trunk/py/scripts/addons/io_scene_obj/import_obj.py	2012-03-21 20:29:52 UTC (rev 3150)
+++ trunk/py/scripts/addons/io_scene_obj/import_obj.py	2012-03-21 21:44:55 UTC (rev 3151)
@@ -428,7 +428,7 @@
     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 @@
             # 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]],

Modified: trunk/py/scripts/addons/io_scene_x3d/export_x3d.py
===================================================================
--- trunk/py/scripts/addons/io_scene_x3d/export_x3d.py	2012-03-21 20:29:52 UTC (rev 3150)
+++ trunk/py/scripts/addons/io_scene_x3d/export_x3d.py	2012-03-21 21:44:55 UTC (rev 3151)
@@ -525,7 +525,7 @@
         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)
 



More information about the Bf-extensions-cvs mailing list