Fixed offset of last remaining object part after deletion
This commit is contained in:
parent
dca0cb04ea
commit
62a3cb272e
@ -676,6 +676,7 @@ void ModelObject::delete_volume(size_t idx)
|
||||
inst->set_offset(inst->get_offset() + inst->get_matrix(true) * vol_offset);
|
||||
}
|
||||
v->set_offset(Vec3d::Zero());
|
||||
v->set_new_unique_id();
|
||||
}
|
||||
|
||||
this->invalidate_bounding_box();
|
||||
|
Loading…
Reference in New Issue
Block a user