diff --git a/src/libslic3r/MultiMaterialSegmentation.cpp b/src/libslic3r/MultiMaterialSegmentation.cpp index 507d997f1d..4c32c7380a 100644 --- a/src/libslic3r/MultiMaterialSegmentation.cpp +++ b/src/libslic3r/MultiMaterialSegmentation.cpp @@ -1928,6 +1928,7 @@ static void remove_multiple_edges_in_vertices(MMU_Graph &graph, const std::vecto } +namespace { // Finds the islands (layer ExPolygons) a region piece overlaps. A top or bottom region is projected from the neighbouring // layers and may reach past the island it belongs to, or over several islands. class IslandLocator @@ -1987,6 +1988,7 @@ private: coord_t m_cell_w = 1, m_cell_h = 1; std::vector> m_grid; }; +} // namespace static std::vector> merge_segmented_layers(const std::vector &input_expolygons, const std::vector> &segmented_regions,