Fixed several warnings

This commit is contained in:
Lukas Matena 2023-03-07 12:30:23 +01:00
parent 8bd240c93f
commit 1fbbaaae9b
15 changed files with 36 additions and 81 deletions

View file

@ -356,7 +356,7 @@ void LayerRegion::process_external_surfaces(const Layer *lower_layer, const Poly
shell_width += perimeter_flow.scaled_spacing() * (num_perimeters - 1);
} else {
// TODO: Maybe there is better solution when printing with zero perimeters, but this works reasonably well, given the situation
shell_width = SCALED_EPSILON;
shell_width = float(SCALED_EPSILON);
}
// Scaled expansions of the respective external surfaces.