+ col.prop(self, "srgb_colors")
+
+ self.layout.separator();
+
+ col = self.layout.column()
+ col.label("Files")
+ col.prop(self, "separate_mesh")
+ if self.separate_mesh:
+ col.prop(self, "shared_mesh")
+ col.prop(self, "separate_tech")
+ if self.separate_tech:
+ col.prop(self, "shared_tech")
+
+class ExportMspGLArmature(bpy.types.Operator, ExportMspGLBase):
+ bl_idname = "export.mspgl_armature"
+ bl_label = "Export Msp GL armature"
+
+ filename_ext = ".arma"
+
+ def create_exporter(self):
+ from .export_armature import ArmatureExporter
+ return ArmatureExporter()
+
+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")