Fixed missing sinking property in objects list for multipart objects with a part completely below the printbed

This commit is contained in:
enricoturri1966 2021-10-27 14:33:02 +02:00
parent 3f669e70b9
commit 77548df00f

View File

@ -3895,7 +3895,7 @@ void GLCanvas3D::update_sequential_clearance()
bool GLCanvas3D::is_object_sinking(int object_idx) const
{
for (const GLVolume* v : m_volumes.volumes) {
if (v->object_idx() == object_idx && v->is_sinking())
if (v->object_idx() == object_idx && (v->is_sinking() || (!v->is_modifier && v->is_below_printbed())))
return true;
}
return false;