From 8e7075e4749691f6d290ebb68f2a56918ad341d7 Mon Sep 17 00:00:00 2001 From: Ivo Grigull Date: Mon, 10 Jan 2011 20:27:11 +0000 Subject: Script was broken, corrected matrix initialization at line 202. --- animation_add_corrective_shape_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animation_add_corrective_shape_key.py') diff --git a/animation_add_corrective_shape_key.py b/animation_add_corrective_shape_key.py index 0c7e77a9..94d66901 100644 --- a/animation_add_corrective_shape_key.py +++ b/animation_add_corrective_shape_key.py @@ -199,7 +199,7 @@ def func_add_corrective_pose_shape( source, target): 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 -- cgit v1.2.3