mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Fixed uninitialized variable in ElephantFootCompensation
This commit is contained in:
1 parent
55c282d85d
commit
f16e8f1a72
1 file changed
+1
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user