skip writting object info for BBL printers
This commit is contained in:
parent
71c9ae7b2a
commit
0e16ad4fbf
1 changed files with 2 additions and 1 deletions
|
@ -5870,7 +5870,8 @@ inline std::string polygon_to_string(const Polygon &polygon, Print *print, bool
|
|||
// this id is used to generate unique object id for each object.
|
||||
std::string GCode::set_object_info(Print *print) {
|
||||
const auto gflavor = print->config().gcode_flavor.value;
|
||||
if (gflavor != gcfKlipper && gflavor != gcfMarlinLegacy && gflavor != gcfMarlinFirmware && gflavor != gcfRepRapFirmware)
|
||||
if (print->is_BBL_printer() ||
|
||||
(gflavor != gcfKlipper && gflavor != gcfMarlinLegacy && gflavor != gcfMarlinFirmware && gflavor != gcfRepRapFirmware))
|
||||
return "";
|
||||
std::ostringstream gcode;
|
||||
size_t object_id = 0;
|
||||
|
|
Loading…
Reference in a new issue