[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1069] trunk/py/scripts/addons/ io_mesh_stl/stl_utils.py: revert *style* changes that break the script

Bouchard Guillaume guillaume.bouchard at insa-lyon.fr
Mon Sep 20 10:45:10 CEST 2010


Revision: 1069
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1069
Author:   guillaum
Date:     2010-09-20 10:45:09 +0200 (Mon, 20 Sep 2010)

Log Message:
-----------
revert *style* changes that break the script

Modified Paths:
--------------
    trunk/py/scripts/addons/io_mesh_stl/stl_utils.py

Modified: trunk/py/scripts/addons/io_mesh_stl/stl_utils.py
===================================================================
--- trunk/py/scripts/addons/io_mesh_stl/stl_utils.py	2010-09-20 03:11:54 UTC (rev 1068)
+++ trunk/py/scripts/addons/io_mesh_stl/stl_utils.py	2010-09-20 08:45:09 UTC (rev 1069)
@@ -209,7 +209,7 @@
             # If the point is allready in the list of points, the
             # index returned by pts.add() will be the one from the
             # first equal point inserted.
-            tris.append(pts.add(p) for p in pt)
+            tris.append([pts.add(p) for p in pt])
 
     return tris, pts.list
 




More information about the Bf-extensions-cvs mailing list