Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Grigull <Monkeyloo@gmx.net>2011-01-10 23:27:11 +0300
committerIvo Grigull <Monkeyloo@gmx.net>2011-01-10 23:27:11 +0300
commit8e7075e4749691f6d290ebb68f2a56918ad341d7 (patch)
tree37fe2bdccc483f4eca47e755fa6c274d00588316 /animation_add_corrective_shape_key.py
parent65f69ef65391ab31d7c3582de4dca4b0835a3a17 (diff)
Script was broken, corrected matrix initialization at line 202.
Diffstat (limited to 'animation_add_corrective_shape_key.py')
-rw-r--r--animation_add_corrective_shape_key.py2
1 files changed, 1 insertions, 1 deletions
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