diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-08 04:09:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-08 04:09:10 +0300 |
commit | 226b00844624cdc222bfcf0aac6c226b96de3550 (patch) | |
tree | 1295d92c937af1a4ffb2aef79c5417a365e00bbd /io_anim_nuke_chan | |
parent | 80853daea9394b9135bef342eefa0150a1c1a5f8 (diff) |
Use Python3.5's unpacking generalizations
Diffstat (limited to 'io_anim_nuke_chan')
-rw-r--r-- | io_anim_nuke_chan/import_nuke_chan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_nuke_chan/import_nuke_chan.py b/io_anim_nuke_chan/import_nuke_chan.py index ed8528ab..48766e43 100644 --- a/io_anim_nuke_chan/import_nuke_chan.py +++ b/io_anim_nuke_chan/import_nuke_chan.py @@ -93,7 +93,7 @@ def read_chan(context, filepath, z_up, rot_ord, sensor_width, sensor_height): obj.keyframe_insert("rotation_quaternion") elif obj.rotation_mode == 'AXIS_ANGLE': tmp_rot = trns[1].to_axis_angle() - obj.rotation_axis_angle = (tmp_rot[1], ) + tmp_rot[0][:] + obj.rotation_axis_angle = (tmp_rot[1], *tmp_rot[0]) obj.keyframe_insert("rotation_axis_angle") del tmp_rot else: |