fix(build): ExtrusionLayer member defaults gegen -Wmaybe-uninitialized (Upstream-Bug)

This commit is contained in:
thysson2701
2026-06-22 11:56:02 +02:00
parent 5d57ea0d91
commit 61114752e6

View File

@@ -26,9 +26,9 @@ using LineWithIDs = std::vector<LineWithID>;
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 };