diff --git a/src/libslic3r/GCode/ConflictChecker.hpp b/src/libslic3r/GCode/ConflictChecker.hpp index a10b9694314..ea7054e469e 100644 --- a/src/libslic3r/GCode/ConflictChecker.hpp +++ b/src/libslic3r/GCode/ConflictChecker.hpp @@ -26,9 +26,9 @@ using LineWithIDs = std::vector; struct ExtrusionLayer { ExtrusionPaths paths; - const Layer * layer; - float bottom_z; - float height; + const Layer * layer = nullptr; + float bottom_z = 0.f; + float height = 0.f; }; enum class ExtrusionLayersType { INFILL, PERIMETERS, SUPPORT, WIPE_TOWER };