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:
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 711a61d5..34db045c 100644
--- a/io_mesh_stl/stl_utils.py
+++ b/io_mesh_stl/stl_utils.py
@@ -145,7 +145,7 @@ def _binary_write(filename, faces):
def _ascii_write(filename, faces):
with open(filename, 'w') as data:
- f.write('solid Exported from blender\n')
+ data.write('solid Exported from blender\n')
for face in faces:
data.write('''facet normal 0 0 0\nouter loop\n''')