Do not allow objects to be placed fully below bed

This commit is contained in:
enricoturri1966 2021-08-24 07:46:59 +02:00
parent 0be2e3bc71
commit b3010a817b
5 changed files with 34 additions and 5 deletions

View file

@ -595,7 +595,7 @@ bool GLVolume::is_sinking() const
bool GLVolume::is_below_printbed() const
{
return transformed_convex_hull_bounding_box().max(2) < 0.0;
return transformed_convex_hull_bounding_box().max.z() < 0.0;
}
#if ENABLE_SINKING_CONTOURS