From 2182a3db54a0699ead0ed2c8e4f529a367bbf351 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 4 May 2015 18:05:40 +0200 Subject: Fix own stupid typo... --- io_mesh_stl/stl_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())] -- cgit v1.2.3