- def prepare_exporter(self, exporter):
- super().prepare_exporter(exporter)
- exporter.object = True
+ separate_mesh = bpy.props.BoolProperty(name="Separate mesh", description="Write mesh data into a separate file", default=False)
+ separate_tech = bpy.props.BoolProperty(name="Separate technique", description="Write technique data into a separate file", default=False)
+ shared_tech = bpy.props.BoolProperty(name="Shared technique", description="Use material name for technique file to enable sharing", default=True)
+
+ def create_exporter(self):
+ from .export_object import ObjectExporter
+ return ObjectExporter()