From 9ad943c1a74bc4b633c31592086f1185022baf1b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 Apr 2014 01:11:10 +1000 Subject: Fix T39755: recent patch which made ascii files write zero normals --- io_mesh_stl/stl_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_mesh_stl') 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') -- cgit v1.2.3