]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mesh_mspgl/mesh.py
Fix bugs that crept in with refactoring
[libs/gl.git] / blender / io_mesh_mspgl / mesh.py
index d674dbdb24975c25c2ca9fafca7e61b3e4a5d2cb..aa8df8d254665d4240b50a34934753515a56e96c 100644 (file)
@@ -91,7 +91,7 @@ class Face:
                raise KeyError("No edge %s"%(key,))
 
        def get_neighbors(self):
-               neighbors = [e.other_face(f) for e in self.edges]
+               neighbors = [e.other_face(self) for e in self.edges]
                return list(filter(bool, neighbors))