return strips, loose
- def export(self, context, out_file):
+ def export(self, context, out_file, objs=None):
if self.compound:
- objs = context.selected_objects
+ if objs is None:
+ objs = context.selected_objects
check = objs
while check:
children = []
children.append(c)
objs += children
check = children
- else:
+ elif objs is None:
objs = [context.active_object]
if not objs: