mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo
This commit is contained in:
parent
8f385aac44
commit
d4695827ce
3 changed files with 35 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue