mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
rename scene.gcode_list to gcode_dict
CURA-4741 With the multi build plate feature, scene.gcode_list is now a dict which stores a list of gcode for a build plate, so it makes more sense to have it renamed to "gcode_dict" because it's not a list.
This commit is contained in:
parent
d05f4a493b
commit
c8cef9583e
7 changed files with 37 additions and 23 deletions
|
@ -676,7 +676,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._print_finished = True
|
||||
self.writeStarted.emit(self)
|
||||
active_build_plate = Application.getInstance().getBuildPlateModel().activeBuildPlate
|
||||
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list")[active_build_plate]
|
||||
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_dict")[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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue