mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 06:01:58 +08:00
Follow up to 96012e54 - Split object : Check if new objects don't have a almost zero volume
This commit is contained in:
parent
9c3a3f8a87
commit
ea3ccd580c
@ -400,7 +400,7 @@ bool TriangleMesh::has_zero_volume() const
|
|||||||
const Vec3d sz = size();
|
const Vec3d sz = size();
|
||||||
const double volume_val = sz.x() * sz.y() * sz.z();
|
const double volume_val = sz.x() * sz.y() * sz.z();
|
||||||
|
|
||||||
return is_approx(volume_val, 0.0);
|
return is_approx(volume_val, 0., 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<TriangleMesh> TriangleMesh::split() const
|
std::vector<TriangleMesh> TriangleMesh::split() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user