mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 20:58:58 +08:00
Use correct mime-type
CURA-11403m
This commit is contained in:
parent
62aff0be12
commit
5f7a1c7b7b
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user