From 59808f29934913c64ea6ad6c669dfa5a510038d8 Mon Sep 17 00:00:00 2001 From: Mark Walker Date: Sat, 29 Dec 2018 12:50:56 -0800 Subject: [PATCH] Fix Cura API change --- OctoPrintOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OctoPrintOutputDevice.py b/OctoPrintOutputDevice.py index dd7f8f3..321d6fb 100644 --- a/OctoPrintOutputDevice.py +++ b/OctoPrintOutputDevice.py @@ -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]