diff options
author | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2010-04-17 17:05:39 +0400 |
---|---|---|
committer | M Bouchard Guillaume <guillaume.bouchard@liris.cnrs.fr> | 2010-04-17 17:05:39 +0400 |
commit | 428c1b2df9c97fedb161068d0b9af1d1ec895006 (patch) | |
tree | b3dd1fea00e7692c83930f2551757f996339fb05 /io_mesh_stl | |
parent | 09095f9e6230127c659c938640634f80d1148ba8 (diff) |
bug fix with stl io, wrong variable name
Diffstat (limited to 'io_mesh_stl')
-rw-r--r-- | io_mesh_stl/stl_utils.py | 2 |
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''') |