diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-23 13:28:59 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-23 13:28:59 +0400 |
commit | 3c0c519981fe64c320f5f7d721acf0c44bcfa383 (patch) | |
tree | e08524e34f15d3319d3d8d3440c432333b9a9c20 /io_scene_fbx | |
parent | 0556bba7317df45fb1ed329cc8043fa0ec28859b (diff) |
Fixed other “report type” issue as well
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index c006eb83..c5f31268 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1941,9 +1941,9 @@ 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,) + tuple(ob.scale))) else: blenParentBoneName = armob = None |