1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-16 08:54:26 +00:00

Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo

This commit is contained in:
enricoturri1966
2021-04-23 08:29:29 +02:00
parent 8f385aac44
commit d4695827ce
3 changed files with 35 additions and 23 deletions
+1 -1
View File
@@ -524,7 +524,7 @@ bool GLVolume::is_sinking() const
if (is_modifier)
return false;
const BoundingBoxf3& box = transformed_convex_hull_bounding_box();
return box.min(2) < 0.0 && box.max(2) >= 0.0;
return box.min(2) < -EPSILON && box.max(2) >= -EPSILON;
}
bool GLVolume::is_below_printbed() const