diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index 0952513ca..160fd3e60 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -164,7 +164,7 @@ _constant() void export_gcode(char *path_template) %code%{ try { - THIS->export_gcode(path_template, nullptr); + THIS->export_gcode(path_template, nullptr, nullptr); } catch (std::exception& e) { croak("%s\n", e.what()); }