diff --git a/xs/xsp/GCode.xsp b/xs/xsp/GCode.xsp index 4545984bb..34e58afc7 100644 --- a/xs/xsp/GCode.xsp +++ b/xs/xsp/GCode.xsp @@ -11,7 +11,7 @@ %code{% RETVAL = new CoolingBuffer(*gcode); %}; ~CoolingBuffer(); Ref gcodegen(); - std::string process_layer(std::string gcode, size_t layer_id); + std::string process_layer(std::string gcode, size_t layer_id, bool fush = true); }; %name{Slic3r::GCode} class GCode {