+class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase):
+ bl_idname = "export_scene.mspgl_scene"
+ bl_label = "Export Msp GL scene"
+
+ filename_ext = ".scene"
+
+ external_tech = bpy.props.BoolProperty(name="External techniques", description="Use external techniques specified in objects' properties", default=True)
+ resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
+
+ def create_exporter(self):
+ from .export_scene import SceneExporter
+ return SceneExporter()
+
+ def draw(self, context):
+ col = self.layout.column()
+ col.prop(self, "resource_collection")
+