Add new Abstract machine stack type. This represents a type of printers (ultimaker_s3 etc).

These are created whenever a cloud printer of a new printer type is added.

CURA-9277

Co-authored-by: casperlamboo <c.lamboo@ultimaker.com>
This commit is contained in:
joeydelarago 2022-08-19 13:53:43 +02:00
parent bf6422825b
commit b82f1f4a8c
4 changed files with 88 additions and 8 deletions

View file

@ -405,6 +405,8 @@ class CloudOutputDeviceManager:
self._setOutputDeviceMetadata(device, new_machine)
CuraStackBuilder.createAbstractMachine(new_machine)
if activate:
CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())