X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mesh_mspgl%2Fmesh.py;h=aa8df8d254665d4240b50a34934753515a56e96c;hp=d674dbdb24975c25c2ca9fafca7e61b3e4a5d2cb;hb=95cc5788bd736be92b3810d3fea398fadc8865b1;hpb=57fc4142e0b19a21f61c60b00f8310d5d2c27871 diff --git a/blender/io_mesh_mspgl/mesh.py b/blender/io_mesh_mspgl/mesh.py index d674dbdb..aa8df8d2 100644 --- a/blender/io_mesh_mspgl/mesh.py +++ b/blender/io_mesh_mspgl/mesh.py @@ -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))