X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_mesh.py;h=c37d60ca8f7581e4df57b78483b7458465f7f8e5;hb=cb9649b26296e10d88816b74b25240edf5f477b8;hp=1652c1a494756eec3c772718b01897297046e444;hpb=1d0b0fcb7ad573053a8730a90f7fb33061038db2;p=libs%2Fgl.git diff --git a/blender/io_mspgl/export_mesh.py b/blender/io_mspgl/export_mesh.py index 1652c1a4..c37d60ca 100644 --- a/blender/io_mspgl/export_mesh.py +++ b/blender/io_mspgl/export_mesh.py @@ -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) @@ -195,7 +195,7 @@ class MeshExporter: def export(self, context, out_file, objs=None, progress=None): if objs: - objs = [(o, mathutils.Matrix()) for i in objs] + objs = [(o, mathutils.Matrix()) for o in objs] if self.compound: if objs is None: