diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-26 16:48:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-26 16:48:07 +0400 |
commit | f8ec6b8654962cd2fc77b9941f35c8127d37fc90 (patch) | |
tree | be28affb99be07434be6301d7b91f458b688ae4d /source/blender/makesrna/intern/rna_pose.c | |
parent | 30b4fa2aa839e7dba72d6d913fd0bff5cc816e43 (diff) |
move matrix decomposition out of object.c into BLI_math_matrix function: mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers.
also added access to this in python's mathutils.Matrix()
loc, quat, scale = matrix.decompose()
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_pose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c index e4a3be023ca..b4a132dd1ec 100644 --- a/source/blender/makesrna/intern/rna_pose.c +++ b/source/blender/makesrna/intern/rna_pose.c @@ -550,7 +550,7 @@ static void rna_PoseChannel_matrix_local_get(PointerRNA *ptr, float *values) static void rna_PoseChannel_matrix_local_set(PointerRNA *ptr, const float *values) { bPoseChannel *pchan= (bPoseChannel*)ptr->data; - pchan_apply_mat4(pchan, (float (*)[4])values); + pchan_apply_mat4(pchan, (float (*)[4])values, FALSE); /* no compat for pradictable result */ } #else |