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:
authorM Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr>2010-04-17 17:05:39 +0400
committerM Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr>2010-04-17 17:05:39 +0400
commit428c1b2df9c97fedb161068d0b9af1d1ec895006 (patch)
treeb3dd1fea00e7692c83930f2551757f996339fb05 /io_mesh_stl/stl_utils.py
parent09095f9e6230127c659c938640634f80d1148ba8 (diff)
bug fix with stl io, wrong variable name
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''')