diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-11 10:14:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-11 10:14:02 +0300 |
commit | 8ae8b62a0ed148863e8b64480a0c15f1d068fbf5 (patch) | |
tree | fcf652951d66f58a7feb2814254b30d86e800b9a /release | |
parent | 1c742b4e9a9d8b23e0e0686fcef919ffab2ac8fc (diff) |
Use Python3.5's unpacking generalizations
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/rigidbody.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/rigidbody.py b/release/scripts/startup/bl_operators/rigidbody.py index 237c2d55672..750a5b0bf0f 100644 --- a/release/scripts/startup/bl_operators/rigidbody.py +++ b/release/scripts/startup/bl_operators/rigidbody.py @@ -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 |