class DataExporter:
def __init__(self):
- self.show_progress = True
self.collection = False
self.shared_resources = True
def export_to_file(self, context, out_fn):
from .util import Progress
- progress = Progress(self.show_progress and context)
+ progress = Progress(context)
objects = context.selected_objects