mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 23:57:42 +08:00
Fixed uninitialized variable in ElephantFootCompensation
This commit is contained in:
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user