X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mesh_mspgl%2Fmesh.py;h=aa8df8d254665d4240b50a34934753515a56e96c;hb=95cc5788bd736be92b3810d3fea398fadc8865b1;hp=d674dbdb24975c25c2ca9fafca7e61b3e4a5d2cb;hpb=ea6445c234d1db93e7c62cce228e94b2b652c1c5;p=libs%2Fgl.git 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))