Fixed missing sinking property in objects list for multipart objects with a part completely below the printbed
This commit is contained in:
parent
3f669e70b9
commit
77548df00f
@ -3895,7 +3895,7 @@ void GLCanvas3D::update_sequential_clearance()
|
|||||||
bool GLCanvas3D::is_object_sinking(int object_idx) const
|
bool GLCanvas3D::is_object_sinking(int object_idx) const
|
||||||
{
|
{
|
||||||
for (const GLVolume* v : m_volumes.volumes) {
|
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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user