mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Adapted to the new ClipperUtils.hpp interface by @alexrj
This commit is contained in:
@@ -315,8 +315,7 @@ GCode::change_layer(const Layer &layer)
|
||||
|
||||
// avoid computing islands and overhangs if they're not needed
|
||||
if (this->config.avoid_crossing_perimeters) {
|
||||
ExPolygons islands;
|
||||
union_(layer.slices, &islands, true);
|
||||
ExPolygons islands = union_ex(layer.slices, true);
|
||||
this->avoid_crossing_perimeters.init_layer_mp(islands);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user