tiny code clean up for Improve bridge_density commit

This commit is contained in:
SoftFever 2023-05-22 21:14:11 +08:00
parent fe6ce5e28a
commit ab5e7f7de8

View file

@ -495,7 +495,7 @@ void Layer::make_fills(FillAdaptive::Octree* adaptive_fill_octree, FillAdaptive:
f->spacing = surface_fill.params.spacing;
surface_fill.surface.expolygon = std::move(expoly);
if(surface_fill.params.bridge && surface_fill.surface.is_external() && surface_fill.params.density > 0.99){
if(surface_fill.params.bridge && surface_fill.surface.is_external() && surface_fill.params.density > 99.0){
params.density = layerm->region().config().bridge_density.get_abs_value(1.0);
params.dont_adjust = true;
}