Fixed compiler warnings.

This commit is contained in:
Lukáš Hejl 2022-07-29 16:02:29 +02:00
parent 0161a59a93
commit caf3e258b8
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ void Generator::generateInitialInternalOverhangs(const PrintObject &print_object
// Remove the part of the infill area that is already supported by the walls.
Polygons overhang = diff(offset(infill_area_here, -float(m_wall_supporting_radius)), infill_area_above);
// Filter out unprintable polygons and near degenerated polygons (three almost collinear points and so).
overhang = opening(overhang, SCALED_EPSILON, SCALED_EPSILON);
overhang = opening(overhang, float(SCALED_EPSILON), float(SCALED_EPSILON));
m_overhang_per_layer[layer_nr] = overhang;
infill_area_above = std::move(infill_area_here);