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)
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: