Oops! Should have double checked before pushing that last commit.

This commit is contained in:
Joshua Leung 2014-01-18 01:41:18 +13:00
parent 4c89a658be
commit eb1bb9dfd6

@ -152,7 +152,7 @@ class BakeToKeyframes(Operator):
obj.rotation_axis_angle = (aa[1], ) + aa[0][:]
else: # euler
# make sure euler rotation is compatible to previous frame
# NOTE: assume that on first frame, the starting rotation is appropriate
# NOTE: assume that on first frame, the starting rotation is appropriate
obj.rotation_euler = mat.to_euler(rot_mode, obj.rotation_euler)
bpy.ops.anim.keyframe_insert(type='BUILTIN_KSI_LocRot', confirm_success=False)