Changed detection of sinking objects into ObjectList::update_info_items()
This commit is contained in:
parent
1659e4c77f
commit
dc21fb1100
3 changed files with 15 additions and 4 deletions
src/slic3r/GUI
|
@ -2558,9 +2558,8 @@ void ObjectList::update_info_items(size_t obj_idx)
|
|||
break;
|
||||
case InfoItemType::Sinking:
|
||||
{
|
||||
const BoundingBoxf3& box = model_object->bounding_box();
|
||||
should_show = printer_technology() == ptFFF &&
|
||||
box.min.z() < SINKING_Z_THRESHOLD && box.max.z() > SINKING_Z_THRESHOLD;
|
||||
wxGetApp().plater()->canvas3D()->is_object_sinking(obj_idx);
|
||||
break;
|
||||
}
|
||||
default: break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue