filename_ext = ".scene"
+ selected_only = bpy.props.BoolProperty(name="Selected objects only", description="Only export the selected objects")
+ active_layers = bpy.props.BoolProperty(name="Active layers only", description="Only export objects on the active layers", default=True)
resource_collection = bpy.props.BoolProperty(name="Resource collection", description="Put resources to a single collection file", default=True)
def create_exporter(self):
def draw(self, context):
col = self.layout.column()
+ col.prop(self, "selected_only")
+ col.prop(self, "active_layers")
col.prop(self, "resource_collection")
class ExportMspGLCamera(bpy.types.Operator, ExportMspGLBase):