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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-05-04 19:05:40 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-05-04 19:05:40 +0300
commit2182a3db54a0699ead0ed2c8e4f529a367bbf351 (patch)
tree120e58002e992ebca6851a6e6170a7f7dfd0883d
parente79a0c2df1c4de9ed296c64a8f3dce55bdd26d2c (diff)
Fix own stupid typo...
-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 6294184d..a5edbee7 100644
--- a/io_mesh_stl/stl_utils.py
+++ b/io_mesh_stl/stl_utils.py
@@ -157,7 +157,7 @@ def _ascii_read(data):
for l in data:
l = l.lstrip()
if l.startswith(b'facet'):
- curr_nor = tuple(map(float, l_item.split()[2:]))
+ curr_nor = tuple(map(float, l.split()[2:]))
# if we encounter a vertex, read next 2
if l.startswith(b'vertex'):
yield curr_nor, [tuple(map(float, l_item.split()[1:])) for l_item in (l, data.readline(), data.readline())]