Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2021-12-02 14:23:57 +0300
committerRemco Burema <r.burema@ultimaker.com>2021-12-02 14:23:57 +0300
commitf5604dfb1e2b95742214797e7f2828b67911e8f2 (patch)
treebd08aabda4d7dce345b7a2c1f0c651ed903d5d26 /plugins
parent1253b41537ce94254abccf4b54270e9b23497770 (diff)
Add 'capabilities' to ignored metadata.
part of CURA-8671
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/3MFReader/ThreeMFWorkspaceReader.py4
-rw-r--r--plugins/3MFWriter/ThreeMFWorkspaceWriter.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py
index ee8652839d..0578fd51c3 100755
--- a/plugins/3MFReader/ThreeMFWorkspaceReader.py
+++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py
@@ -49,7 +49,9 @@ _ignored_machine_network_metadata = {
"removal_warning",
"group_name",
"group_size",
- "connection_type"
+ "connection_type",
+ "capabilities",
+ "octoprint_api_key",
} # type: Set[str]
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
index 7f39d300b7..d6cc6ea159 100644
--- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
+++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
@@ -154,7 +154,8 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
"group_name",
"group_size",
"connection_type",
- "octoprint_api_key"
+ "capabilities",
+ "octoprint_api_key",
}
serialized_data = container.serialize(ignored_metadata_keys = ignore_keys)