fix(build): ExtrusionLayer member defaults gegen -Wmaybe-uninitialized (Upstream-Bug)
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user