apply visual transform to pose

So constrainted bones can have their transform applied to their loc/scale/rot, then remove the constraints
This commit is contained in:
2010-02-19 15:34:26 +00:00
parent 3b9fdfa9e1
commit 3bf2715039
10 changed files with 152 additions and 45 deletions

View File

@@ -1682,6 +1682,7 @@ void object_mat3_to_rot(Object *ob, float mat[][3], int use_compat)
}
}
/* see pchan_apply_mat4() for the equivalent 'pchan' function */
void object_apply_mat4(Object *ob, float mat[][4])
{
float mat3[3][3];