mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 04:49:01 +08:00
Fixed warning
This commit is contained in:
parent
0094ec8b09
commit
793bc60ef4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user