From 793bc60ef4dddd1b0e90453851f008eccfd6593c Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 22 Feb 2024 10:37:51 +0100 Subject: [PATCH] Fixed warning --- src/slic3r/GUI/3DScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/3DScene.cpp b/src/slic3r/GUI/3DScene.cpp index db588574a7..d58c81cf8c 100644 --- a/src/slic3r/GUI/3DScene.cpp +++ b/src/slic3r/GUI/3DScene.cpp @@ -508,7 +508,7 @@ int GLVolumeCollection::load_wipe_tower_preview( // 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. - float offset = 0.3; + const float offset = 0.3f; pos_x -= offset; pos_y -= offset; width += 2.f * offset;