[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45054] trunk/blender/release/scripts/ modules/bpy_extras/mesh_utils.py: missed these last commit

Campbell Barton ideasman42 at gmail.com
Wed Mar 21 09:38:35 CET 2012


Revision: 45054
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45054
Author:   campbellbarton
Date:     2012-03-21 08:38:34 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
missed these last commit

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/bpy_extras/mesh_utils.py

Modified: trunk/blender/release/scripts/modules/bpy_extras/mesh_utils.py
===================================================================
--- trunk/blender/release/scripts/modules/bpy_extras/mesh_utils.py	2012-03-21 08:35:50 UTC (rev 45053)
+++ trunk/blender/release/scripts/modules/bpy_extras/mesh_utils.py	2012-03-21 08:38:34 UTC (rev 45054)
@@ -269,7 +269,7 @@
        polylines are delt with correctly.
     '''
 
-    from mathutils.geometry import tesselate_polygon
+    from mathutils.geometry import tessellate_polygon
     from mathutils import Vector
     vector_to_tuple = Vector.to_tuple
 
@@ -303,7 +303,7 @@
             if verts[i][1] == verts[i - 1][0]:
                 verts.pop(i - 1)
 
-        fill = tesselate_polygon([verts])
+        fill = tessellate_polygon([verts])
 
     else:
         '''
@@ -411,7 +411,7 @@
                     vert_map[i + ii] = vert[2]
                 ii += len(verts)
 
-        fill = tesselate_polygon([[v[0] for v in loop] for loop in loop_list])
+        fill = tessellate_polygon([[v[0] for v in loop] for loop in loop_list])
         #draw_loops(loop_list)
         #raise 'done loop'
         # map to original indices




More information about the Bf-blender-cvs mailing list