Skip to content

Commit

Permalink
Fix Cura API change
Browse files Browse the repository at this point in the history
  • Loading branch information
markwal committed Dec 29, 2018
1 parent e6539ef commit 59808f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OctoPrintOutputDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def requestWrite(self, node, fileName = None, *args, **kwargs):
self._message = message

# find the G-code for the active build plate to print
active_build_plate_id = Application.getInstance().getBuildPlateModel().activeBuildPlate
active_build_plate_id = Application.getInstance().getMultiBuildPlateModel().activeBuildPlate
gcode_dict = getattr(Application.getInstance().getController().getScene(), "gcode_dict")
gcode = gcode_dict[active_build_plate_id]

Expand Down

0 comments on commit 59808f2

Please sign in to comment.