Use correct mime-type

CURA-11403m
This commit is contained in:
c.lamboo 2024-02-21 16:50:46 +01:00
parent 62aff0be12
commit 5f7a1c7b7b

View File

@ -83,10 +83,12 @@ Cura.Menu
}
else
{
var args = { "filter_by_machine": false,
const args = {
"filter_by_machine": false,
"file_type": "workspace",
"preferred_mimetypes": "application/x-ucp",
"limit_mimetypes": ["application/x-ucp"]};
"preferred_mimetypes": "application/vnd.ms-package.3dmanufacturing-3dmodel+xml",
"limit_mimetypes": ["application/vnd.ms-package.3dmanufacturing-3dmodel+xml"],
};
UM.OutputDeviceManager.requestWriteToDevice("local_file", PrintInformation.baseName, args)
}
}