Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-27 11:05:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-27 11:05:44 +0400
commitd58758ae22a342d44b302931f54793215020d92d (patch)
tree2508f78f32dbcdd887d9942c04fd6ff6cdea11e6 /io_mesh_stl/stl_utils.py
parent334f35b1e307aaafd137c53a0a041b7a03c265ff (diff)
fix [#29040] ASCII-STL-Export (write expects float)
Diffstat (limited to 'io_mesh_stl/stl_utils.py')
-rw-r--r--io_mesh_stl/stl_utils.py2
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')