mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 06:11:09 -07:00
Revert CURA-8055 in the 4.10 branch. This should not have been merged in there.
Revert "Change file extension to .umm" This reverts commit56db7f7144. Revert "Re-enable compression" This reverts commit62bc9be22b. Revert "Add documentation" This reverts commite9031f1aff. Revert "Fix writing bytes to string-stream" This reverts commit66b2825a66. Revert "Hide button entirely if no export is available" This reverts commitec727e1068. Revert "Basic implementation of exporting all materials in a .zip archive" This reverts commitbdcaef134f. Revert "Implement default path for exporting all materials" This reverts commite66783664b. Revert "Implement a sync button and file dialogue to export all materials" This reverts commitabba3bdd10. Revert "Add notion of whether printers support the material export archive" This reverts commitf436cb8e7b.
This commit is contained in:
parent
aabbdd2040
commit
4d29de4579
6 changed files with 4 additions and 98 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (c) 2021 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
// Copyright (c) 2018 Ultimaker B.V.
|
||||
// Uranium is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 1.4
|
||||
|
|
@ -191,20 +191,6 @@ Item
|
|||
}
|
||||
enabled: base.hasCurrentItem
|
||||
}
|
||||
|
||||
//Sync button.
|
||||
Button
|
||||
{
|
||||
id: syncMaterialsButton
|
||||
text: catalog.i18nc("@action:button Sending materials to printers", "Sync with Printers")
|
||||
iconName: "sync-synchronizing"
|
||||
onClicked:
|
||||
{
|
||||
forceActiveFocus();
|
||||
exportAllMaterialsDialog.open();
|
||||
}
|
||||
visible: Cura.MachineManager.activeMachine.supportsMaterialExport
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
@ -382,20 +368,6 @@ Item
|
|||
}
|
||||
}
|
||||
|
||||
FileDialog
|
||||
{
|
||||
id: exportAllMaterialsDialog
|
||||
title: catalog.i18nc("@title:window", "Export All Materials")
|
||||
selectExisting: false
|
||||
nameFilters: ["Material archives (*.umm)", "All files (*)"]
|
||||
folder: base.materialManagementModel.preferredExportAllPath
|
||||
onAccepted:
|
||||
{
|
||||
base.materialManagementModel.exportAll(fileUrl);
|
||||
CuraApplication.setDefaultPath("dialog_material_path", folder);
|
||||
}
|
||||
}
|
||||
|
||||
MessageDialog
|
||||
{
|
||||
id: messageDialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue