[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1388] contrib/py/scripts/addons/ mesh_bridge.py: Updated for api change in Matrix()
Bart Crouch
bartius.crouch at gmail.com
Wed Jan 12 10:45:15 CET 2011
Revision: 1388
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1388
Author: crouch
Date: 2011-01-12 09:45:14 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
Updated for api change in Matrix()
Thanks go to Dan Grauer and Filiciss Muhgue
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-01-11 14:48:03 UTC (rev 1387)
+++ contrib/py/scripts/addons/mesh_bridge.py 2011-01-12 09:45:14 UTC (rev 1388)
@@ -19,9 +19,9 @@
bl_addon_info = {
'name': 'Bridge',
'author': 'Bartius Crouch',
- 'version': (1, 4, 5),
- 'blender': (2, 5, 6),
- 'api': 33191,
+ 'version': (1, 4, 6),
+ 'blender': (2, 5, 7),
+ 'api': 34254,
'location': 'View3D > Ctrl+F > Bridge',
'warning': '',
'description': 'Bridge two, or loft several, loops of vertices.',
@@ -293,7 +293,7 @@
normal_plurity = False
for i, loop in enumerate([loop1, loop2]):
# covariance matrix
- mat = mathutils.Matrix([0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0])
+ mat = mathutils.Matrix(((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)))
x, y, z = centers[i]
for loc in [mesh.vertices[vertex].co for vertex in loop]:
mat[0][0] += (loc[0]-x)**2
More information about the Bf-extensions-cvs
mailing list