[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1565] contrib/py/scripts/addons/ mesh_bridge.py: Updated for SVN 34647 (mathutils update).

Bart Crouch bartius.crouch at gmail.com
Wed Feb 9 10:18:14 CET 2011


Revision: 1565
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1565
Author:   crouch
Date:     2011-02-09 09:18:13 +0000 (Wed, 09 Feb 2011)
Log Message:
-----------
Updated for SVN 34647 (mathutils update).
Thanks to Filiciss for the heads-up.

Modified Paths:
--------------
    contrib/py/scripts/addons/mesh_bridge.py

Modified: contrib/py/scripts/addons/mesh_bridge.py
===================================================================
--- contrib/py/scripts/addons/mesh_bridge.py	2011-02-09 06:49:21 UTC (rev 1564)
+++ contrib/py/scripts/addons/mesh_bridge.py	2011-02-09 09:18:13 UTC (rev 1565)
@@ -19,9 +19,9 @@
 bl_info = {
     'name': 'Bridge',
     'author': 'Bartius Crouch',
-    'version': (1, 4, 6),
+    'version': (1, 4, 7),
     'blender': (2, 5, 7),
-    'api': 34254,
+    'api': 34674,
     'location': 'View3D > Ctrl+F > Bridge',
     'warning': '',
     'description': 'Bridge two, or loft several, loops of vertices.',
@@ -596,7 +596,7 @@
             if not values:
                 if (connected_center - (mesh.vertices[vertex].co + connection_vectors[vertex])).length < (connected_center - (mesh.vertices[vertex].co - connection_vectors[vertex])).length:
                     connection_vectors[vertex].negate()
-                vertex_normals[vertex] = [connection_vectors[vertex].normalize()]
+                vertex_normals[vertex] = [connection_vectors[vertex].normalized()]
                 continue
             
             # calculate vertex normals using edge-vectors, connection-vectors and the derived plane normal



More information about the Bf-extensions-cvs mailing list