forked from bartvdbraak/blender
Use Python3.5's unpacking generalizations
This commit is contained in:
parent
1c742b4e9a
commit
8ae8b62a0e
@ -163,7 +163,7 @@ class BakeToKeyframes(Operator):
|
||||
elif rot_mode == 'AXIS_ANGLE':
|
||||
# this is a little roundabout but there's no better way right now
|
||||
aa = mat.to_quaternion().to_axis_angle()
|
||||
obj.rotation_axis_angle = (aa[1], ) + aa[0][:]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user