diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 11:05:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 11:05:44 +0400 |
commit | d58758ae22a342d44b302931f54793215020d92d (patch) | |
tree | 2508f78f32dbcdd887d9942c04fd6ff6cdea11e6 /io_mesh_stl | |
parent | 334f35b1e307aaafd137c53a0a041b7a03c265ff (diff) |
fix [#29040] ASCII-STL-Export (write expects float)
Diffstat (limited to 'io_mesh_stl')
-rw-r--r-- | io_mesh_stl/stl_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py index 282409ab..7aae0645 100644 --- a/io_mesh_stl/stl_utils.py +++ b/io_mesh_stl/stl_utils.py @@ -186,7 +186,7 @@ def _ascii_write(filename, faces): for face in faces: data.write('''facet normal 0 0 0\nouter loop\n''') for vert in face: - data.write('vertex %f %f %f\n' % vert) + data.write('vertex %f %f %f\n' % vert[:]) data.write('endloop\nendfacet\n') data.write('endsolid Exported from blender\n') |