Use Python3.5's unpacking generalizations

This commit is contained in:
Campbell Barton 2015-12-11 18:14:02 +11:00
parent 1c742b4e9a
commit 8ae8b62a0e
1 changed files with 1 additions and 1 deletions

View File

@ -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