Increase minimum oversampling for grid conversion in hollowing

To avoid generation of broken meshes when the space for hollowing is tight
This commit is contained in:
tamasmeszaros 2021-07-26 14:50:49 +02:00
parent e79bcee739
commit 27b1174558

View file

@ -112,7 +112,7 @@ InteriorPtr generate_interior(const TriangleMesh & mesh,
const HollowingConfig &hc,
const JobController & ctl)
{
static const double MIN_OVERSAMPL = 3.;
static const double MIN_OVERSAMPL = 3.5;
static const double MAX_OVERSAMPL = 8.;
// I can't figure out how to increase the grid resolution through openvdb