diff --git a/animation_add_corrective_shape_key.py b/animation_add_corrective_shape_key.py index 0c7e77a992895083a9e63afd816f33ebcd87d685..94d6690192d1220e6d74c12d62d588d5316d934b 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