mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:25:56 +08:00
Fix exporting binary/ascii STL
CURA-11561
This commit is contained in:
parent
54af5bca3c
commit
edd5cee41a
@ -25,7 +25,7 @@ Cura.Menu
|
|||||||
{
|
{
|
||||||
var localDeviceId = "local_file"
|
var localDeviceId = "local_file"
|
||||||
var file_name = PrintInformation.jobName
|
var file_name = PrintInformation.jobName
|
||||||
var args = { "filter_by_machine": false, "limit_mimetypes": model.mime_type}
|
var args = { "filter_by_machine": false, "limit_mimetypes": [model.mime_type], "limit_modes": [model.mode]}
|
||||||
if(exportMenu.selectionOnly)
|
if(exportMenu.selectionOnly)
|
||||||
{
|
{
|
||||||
UM.OutputDeviceManager.requestWriteSelectionToDevice(localDeviceId, file_name, args)
|
UM.OutputDeviceManager.requestWriteSelectionToDevice(localDeviceId, file_name, args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user