diff options
Diffstat (limited to 'source/blender/blenkernel/intern/armature.c')
-rw-r--r-- | source/blender/blenkernel/intern/armature.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index 7b894d79b45..e568f1b2c0e 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -130,7 +130,6 @@ void free_bones (bArmature *arm) void free_armature(bArmature *arm) { if (arm) { - /* unlink_armature(arm);*/ free_bones(arm); /* free editmode data */ @@ -1988,9 +1987,9 @@ void chan_calc_mat(bPoseChannel *chan) SizeToMat3(chan->size, smat); /* rotations may either be quats or eulers (no rotation modes for now...) */ - if (chan->rotmode) { + if (chan->rotmode > 0) { /* euler rotations (will cause gimble lock... no rotation order to solve that yet) */ - EulToMat3(chan->eul, rmat); + EulOToMat3(chan->eul, chan->rotmode, rmat); } else { /* quats are normalised before use to eliminate scaling issues */ |