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:
authorjoeydelarago <joeydelarago@gmail.com>2022-08-24 11:07:17 +0300
committerjoeydelarago <joeydelarago@gmail.com>2022-08-24 11:07:17 +0300
commit17e6bccf5106d2a26947f511d2cf11b7ad4bd6fb (patch)
tree90c761f6dc3b42abbd6b1f3cb4cd94f73ad9da01
parent52b2a8322c6cc676625cd905d2ed219250449c9a (diff)
Create abstract printers when adding lan printers.
CURA-9514
-rw-r--r--plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
index 0cd5304cf9..bddd383b23 100644
--- a/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
+++ b/plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
@@ -232,6 +232,9 @@ class LocalClusterOutputDeviceManager:
self._connectToOutputDevice(device, new_machine)
self._showCloudFlowMessage(device)
+ _abstract_machine = CuraStackBuilder.createAbstractMachine(device.printerType)
+
+
def _storeManualAddress(self, address: str) -> None:
"""Add an address to the stored preferences."""