- def export_to_file(self, context, out_fn, *, collection=False, shared_resources=False):
- from .util import Progress
- progress = Progress(context)
-
- objects = context.selected_objects
+ def export_to_file(self, ctx, out_fn, *, collection=False, shared_resources=False):
+ objects = ctx.context.selected_objects