]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix an incorrect variable in the mesh exporter
authorMikko Rasa <tdb@tdb.fi>
Sun, 10 Sep 2017 12:17:52 +0000 (15:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 10 Sep 2017 12:17:52 +0000 (15:17 +0300)
blender/io_mspgl/export_mesh.py

index 140d745e071b77a885ca64c5f8b983d81ee017ad..c37d60ca8f7581e4df57b78483b7458465f7f8e5 100644 (file)
@@ -83,7 +83,7 @@ class MeshExporter:
                                        face = queue.pop(0)
                                        island.append(face)
 
-                                       for n in f.get_neighbors():
+                                       for n in face.get_neighbors():
                                                if not n.flag:
                                                        n.flag = True
                                                        queue.append(n)