mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:49:01 +08:00
Assign result of createAbstractMachine
to a variable
With prepended underscore to highlight the result of the function is not being used. CURA-9277
This commit is contained in:
parent
5761b3f27b
commit
12f3581337
@ -405,7 +405,7 @@ class CloudOutputDeviceManager:
|
|||||||
|
|
||||||
self._setOutputDeviceMetadata(device, new_machine)
|
self._setOutputDeviceMetadata(device, new_machine)
|
||||||
|
|
||||||
CuraStackBuilder.createAbstractMachine(device.printerType)
|
_abstract_machine = CuraStackBuilder.createAbstractMachine(device.printerType)
|
||||||
|
|
||||||
if activate:
|
if activate:
|
||||||
CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())
|
CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user