CURA-4525 send active build plate to legacy UM3 with Print over network

This commit is contained in:
Jack Ha 2017-11-16 09:58:53 +01:00
parent e2a663992c
commit 228039545b
2 changed files with 3 additions and 2 deletions

View file

@ -675,7 +675,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
Application.getInstance().showPrintMonitor.emit(True)
self._print_finished = True
self.writeStarted.emit(self)
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list")
active_build_plate = Application.getInstance().getBuildPlateModel().activeBuildPlate
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list")[active_build_plate]
print_information = Application.getInstance().getPrintInformation()
warnings = [] # There might be multiple things wrong. Keep a list of all the stuff we need to warn about.