Fixed warning

This commit is contained in:
enricoturri1966 2024-02-22 10:37:51 +01:00 committed by Lukas Matena
parent 0094ec8b09
commit 793bc60ef4

View File

@ -508,7 +508,7 @@ int GLVolumeCollection::load_wipe_tower_preview(
// Because the GLVolume is also used for arrangement, it must be safely larger // Because the GLVolume is also used for arrangement, it must be safely larger
// than the actual extruded tower, otherwise the arranged tower ends up out of bed. // than the actual extruded tower, otherwise the arranged tower ends up out of bed.
float offset = 0.3; const float offset = 0.3f;
pos_x -= offset; pos_x -= offset;
pos_y -= offset; pos_y -= offset;
width += 2.f * offset; width += 2.f * offset;