We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f26c7 commit 2353e64Copy full SHA for 2353e64
src/LayerPlan.cpp
@@ -639,8 +639,7 @@ void LayerPlan::addExtrusionMoveWithGradualOverhang(
639
std::vector<float> temp_intersections;
640
for (const auto& tup : ranges::views::concat(dummy, intersections, dummy) | ranges::views::sliding(3))
641
{
642
- if (std::abs(tup[1] - tup[0]) * segment_length >= MINIMUM_LINE_LENGTH &&
643
- std::abs(tup[2] - tup[1]) * segment_length >= MINIMUM_LINE_LENGTH)
+ if (std::abs(tup[1] - tup[0]) * segment_length >= MINIMUM_LINE_LENGTH && std::abs(tup[2] - tup[1]) * segment_length >= MINIMUM_LINE_LENGTH)
644
645
temp_intersections.push_back(tup[1]);
646
}
0 commit comments