1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

Fixed uninitialized variable in ElephantFootCompensation

This commit is contained in:
Lukáš Hejl
2020-11-29 14:00:34 +01:00
parent 55c282d85d
commit f16e8f1a72
@@ -258,6 +258,7 @@ std::vector<float> contour_distance2(const EdgeGrid::Grid &grid, const size_t id
this->point = apoint; this->point = apoint;
this->found = false; this->found = false;
this->dir_inside = this->dir_inside_at_point(contour, this->idx_point); this->dir_inside = this->dir_inside_at_point(contour, this->idx_point);
this->distance = std::numeric_limits<double>::max();
} }
bool operator()(coord_t iy, coord_t ix) { bool operator()(coord_t iy, coord_t ix) {