mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 10:50:33 -07:00
Improved robustness of slicing when the slicing plane
crosses a horizontal plane of an object exactly. Should improve Github issues #831, #895, #1102
This commit is contained in:
@@ -613,6 +613,7 @@ const BoundingBoxf3& ModelObject::bounding_box() const
|
||||
BoundingBoxf3 raw_bbox;
|
||||
for (const ModelVolume *v : this->volumes)
|
||||
if (! v->modifier)
|
||||
// mesh.bounding_box() returns a cached value.
|
||||
raw_bbox.merge(v->mesh.bounding_box());
|
||||
BoundingBoxf3 bb;
|
||||
for (const ModelInstance *i : this->instances)
|
||||
|
||||
Reference in New Issue
Block a user