mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:19:05 +08:00
Fixes for UM3 network printing for multi build plate
This commit is contained in:
parent
7d6e41f6c8
commit
b086e9cb53
@ -80,8 +80,11 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
Application.getInstance().getController().setActiveStage("MonitorStage")
|
Application.getInstance().getController().setActiveStage("MonitorStage")
|
||||||
self.writeStarted.emit(self)
|
self.writeStarted.emit(self)
|
||||||
|
|
||||||
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list", [])
|
gcode_dict = getattr(Application.getInstance().getController().getScene(), "gcode_dict", [])
|
||||||
if not self._gcode:
|
active_build_plate_id = Application.getInstance().getBuildPlateModel().activeBuildPlate
|
||||||
|
gcode_list = gcode_dict[active_build_plate_id]
|
||||||
|
|
||||||
|
if not gcode_list:
|
||||||
# Unable to find g-code. Nothing to send
|
# Unable to find g-code. Nothing to send
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user