1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Layer::make_perimeters() - when merging regions, use OffsetEx instead

of safety offset of UnionEx, which may not be robust.
This commit is contained in:
Vojtech Bubnik
2021-04-29 11:05:11 +02:00
parent d1cfdcb49e
commit b327314b02
+1 -1
View File
@@ -185,7 +185,7 @@ void Layer::make_perimeters()
}
// merge the surfaces assigned to each group
for (std::pair<const unsigned short,Surfaces> &surfaces_with_extra_perimeters : slices)
new_slices.append(union_ex(surfaces_with_extra_perimeters.second, true), surfaces_with_extra_perimeters.second.front());
new_slices.append(offset_ex(to_expolygons(surfaces_with_extra_perimeters.second), 10.f), surfaces_with_extra_perimeters.second.front());
}
// make perimeters