[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1384] trunk/py/scripts/addons/ animation_add_corrective_shape_key.py: Script was broken, corrected matrix initialization at line 202.

Ivo Grigull Monkeyloo at gmx.net
Mon Jan 10 21:27:12 CET 2011


Revision: 1384
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1384
Author:   loolarge
Date:     2011-01-10 20:27:11 +0000 (Mon, 10 Jan 2011)
Log Message:
-----------
Script was broken, corrected matrix initialization at line 202.

Modified Paths:
--------------
    trunk/py/scripts/addons/animation_add_corrective_shape_key.py

Modified: trunk/py/scripts/addons/animation_add_corrective_shape_key.py
===================================================================
--- trunk/py/scripts/addons/animation_add_corrective_shape_key.py	2011-01-10 12:31:04 UTC (rev 1383)
+++ trunk/py/scripts/addons/animation_add_corrective_shape_key.py	2011-01-10 20:27:11 UTC (rev 1384)
@@ -199,7 +199,7 @@
                 Gx = list((dx[0][i] - dx[1][i])/epsilon)
                 Gy = list((dx[2][i] - dx[3][i])/epsilon)
                 Gz = list((dx[4][i] - dx[5][i])/epsilon)
-                G = mathutils.Matrix(Gx, Gy, Gz)
+                G = mathutils.Matrix((Gx, Gy, Gz))
                 G = flip_matrix_direction(G)
     
                 x[i] += (targetx[i] - mapx[i]) * G



More information about the Bf-extensions-cvs mailing list