fix instance id
This commit is contained in:
parent
1c09fe5caa
commit
615a317173
1 changed files with 1 additions and 1 deletions
|
@ -4631,7 +4631,7 @@ std::string GCode::set_object_info(Print* print) {
|
|||
object->set_id(object_id++);
|
||||
size_t inst_id = 0;
|
||||
for (PrintInstance &inst : object->instances()) {
|
||||
inst.id = inst_id;
|
||||
inst.id = inst_id++;
|
||||
if (this->config().exclude_object && print->config().gcode_flavor.value == gcfKlipper) {
|
||||
auto bbox = inst.get_bounding_box();
|
||||
gcode << "EXCLUDE_OBJECT_DEFINE NAME=" << get_instance_name(object, inst)
|
||||
|
|
Loading…
Reference in a new issue