mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-21 23:44:26 +08:00
assert triggering
todo: check if it's dangerous, seems not.
This commit is contained in:
parent
7ac7a0af15
commit
3de87d3d42
@ -996,7 +996,7 @@ namespace PrusaSimpleConnect {
|
||||
EdgeGrid::Grid::ClosestPointResult cp = grid.closest_point(*pt, SCALED_EPSILON);
|
||||
if (cp.valid()) {
|
||||
// The infill end point shall lie on the contour.
|
||||
assert(cp.distance < 2.);
|
||||
//assert(cp.distance < 2.); //triggered with simple cube with gyroid. Is it dangerous?
|
||||
intersection_points.emplace_back(cp, (&pl - infill_ordered.data()) * 2 + (pt == &pl.points.front() ? 0 : 1));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user