diff options
author | Lukáš Hejl <hejl.lukas@gmail.com> | 2022-07-12 14:52:02 +0300 |
---|---|---|
committer | Lukáš Hejl <hejl.lukas@gmail.com> | 2022-07-12 14:52:02 +0300 |
commit | 7860cf8811b5c107377549af51b644398595d628 (patch) | |
tree | 57c03796097298078a652fe5aa0d4735adfb811a | |
parent | e86463a369183134df95d5bc7d7c8a6387117edf (diff) |
Follow-up to e86463a369183134df95d5bc7d7c8a6387117edf: Forgot to remove useless asserts.
-rw-r--r-- | src/libslic3r/Arachne/SkeletalTrapezoidation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp b/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp index a6ed26904..56d98ec5a 100644 --- a/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp +++ b/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp @@ -295,8 +295,6 @@ bool SkeletalTrapezoidation::computePointCellRange(vd_t::cell_type& cell, Point& // Copy whole cell into graph or not at all // If the cell.incident_edge()->vertex0() is far away so much that it doesn't even fit into Vec2i64, then there is no way that it will be inside the input polygon. - assert(x <= double(std::numeric_limits<int64_t>::max()) && x >= std::numeric_limits<int64_t>::lowest()); - assert(y <= double(std::numeric_limits<int64_t>::max()) && y >= std::numeric_limits<int64_t>::lowest()); if (const vd_t::vertex_type &vert = *cell.incident_edge()->vertex0(); vert.x() >= double(std::numeric_limits<int64_t>::max()) || vert.x() <= double(std::numeric_limits<int64_t>::lowest()) || vert.y() >= double(std::numeric_limits<int64_t>::max()) || vert.y() <= double(std::numeric_limits<int64_t>::lowest())) |