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>2014-04-16 19:11:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-16 19:11:34 +0400
commit9ad943c1a74bc4b633c31592086f1185022baf1b (patch)
tree41224b16fc1c1af766f7af9b265394e441fb7d3d /io_mesh_stl
parentdcbb4dfefb79a58444259497079a083c5e9318e2 (diff)
Fix T39755: recent patch which made ascii files write zero normals
Diffstat (limited to 'io_mesh_stl')
-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 7cadc0aa..1145ab41 100644
--- a/io_mesh_stl/stl_utils.py
+++ b/io_mesh_stl/stl_utils.py
@@ -210,7 +210,7 @@ def _ascii_write(filepath, faces, use_normals):
fw('endloop\nendfacet\n')
else:
for face in faces:
- fw('facet normal 0 0 0\nouter loop\n')
+ fw('outer loop\n')
for vert in face:
fw('vertex %f %f %f\n' % vert[:])
fw('endloop\nendfacet\n')