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>2020-10-20 13:36:41 +0300
committerRemco Burema <r.burema@ultimaker.com>2020-10-20 13:36:41 +0300
commita8acdd01e4e0b3f07522852364def9a6f75b00e6 (patch)
treeefd6218f65baad9359a4bd5af53c9cecef497ab5 /plugins/UM3NetworkPrinting
parenteb9912b924613484ca55de0dc3dfc99508af2d64 (diff)
parent25612d41847f3b7f992ee557c736d514adc16038 (diff)
Merge branch 'master' of https://github.com/Ultimaker/Cura
Diffstat (limited to 'plugins/UM3NetworkPrinting')
-rw-r--r--plugins/UM3NetworkPrinting/resources/png/Ultimaker 3 Extended.pngbin1038742 -> 920730 bytes
-rw-r--r--plugins/UM3NetworkPrinting/resources/png/Ultimaker 3.pngbin792765 -> 698757 bytes
-rw-r--r--plugins/UM3NetworkPrinting/resources/png/Ultimaker S3.pngbin484401 -> 440557 bytes
-rw-r--r--plugins/UM3NetworkPrinting/resources/png/Ultimaker S5.pngbin1476464 -> 1298912 bytes
-rw-r--r--plugins/UM3NetworkPrinting/src/Network/SendMaterialJob.py2
5 files changed, 2 insertions, 0 deletions
diff --git a/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3 Extended.png b/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3 Extended.png
index 1ce19c2933..c4beb8d709 100644
--- a/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3 Extended.png
+++ b/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3 Extended.png
Binary files differ
diff --git a/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3.png b/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3.png
index 4639cb3fde..e499d767c1 100644
--- a/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3.png
+++ b/plugins/UM3NetworkPrinting/resources/png/Ultimaker 3.png
Binary files differ
diff --git a/plugins/UM3NetworkPrinting/resources/png/Ultimaker S3.png b/plugins/UM3NetworkPrinting/resources/png/Ultimaker S3.png
index b6ce6e1273..d92e454d23 100644
--- a/plugins/UM3NetworkPrinting/resources/png/Ultimaker S3.png
+++ b/plugins/UM3NetworkPrinting/resources/png/Ultimaker S3.png
Binary files differ
diff --git a/plugins/UM3NetworkPrinting/resources/png/Ultimaker S5.png b/plugins/UM3NetworkPrinting/resources/png/Ultimaker S5.png
index 29ba428e38..56400f7027 100644
--- a/plugins/UM3NetworkPrinting/resources/png/Ultimaker S5.png
+++ b/plugins/UM3NetworkPrinting/resources/png/Ultimaker S5.png
Binary files differ
diff --git a/plugins/UM3NetworkPrinting/src/Network/SendMaterialJob.py b/plugins/UM3NetworkPrinting/src/Network/SendMaterialJob.py
index 2740f86605..28f6b29dd9 100644
--- a/plugins/UM3NetworkPrinting/src/Network/SendMaterialJob.py
+++ b/plugins/UM3NetworkPrinting/src/Network/SendMaterialJob.py
@@ -81,6 +81,8 @@ class SendMaterialJob(Job):
container_registry = CuraApplication.getInstance().getContainerRegistry()
all_materials = container_registry.findInstanceContainersMetadata(type = "material")
all_base_files = {material["base_file"] for material in all_materials if "base_file" in material} # Filters out uniques by making it a set. Don't include files without base file (i.e. empty material).
+ if "empty_material" in all_base_files:
+ all_base_files.remove("empty_material") # Don't send the empty material.
for root_material_id in all_base_files:
if root_material_id not in materials_to_send: