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_scene_fbx/export_fbx.py | |
parent | 80853daea9394b9135bef342eefa0150a1c1a5f8 (diff) |
Use Python3.5's unpacking generalizations
Diffstat (limited to 'io_scene_fbx/export_fbx.py')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index 64d73908..ff39ff44 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1907,9 +1907,11 @@ def save_single(operator, scene, filepath="", # Warning for scaled, mesh objects with armatures if abs(ob.scale[0] - 1.0) > 0.05 or abs(ob.scale[1] - 1.0) > 0.05 or abs(ob.scale[1] - 1.0) > 0.05: - operator.report({'WARNING'}, "Object '%s' has a scale of (%.3f, %.3f, %.3f), " \ - "Armature deformation will not work as expected " \ - "(apply Scale to fix)" % ((ob.name,) + tuple(ob.scale))) + operator.report( + {'WARNING'}, + "Object '%s' has a scale of (%.3f, %.3f, %.3f), " + "Armature deformation will not work as expected " + "(apply Scale to fix)" % (ob.name, *ob.scale)) else: blenParentBoneName = armob = None |