mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-02-02 17:08:42 +03:00
update top_one_wall & top_gap_fills
This commit is contained in:
@@ -231,14 +231,16 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
|
||||
fill.expolygons.emplace_back(std::move(fill.surface.expolygon));
|
||||
//w21
|
||||
fill.region_id_group.push_back(region_id);
|
||||
//fill.no_overlap_expolygons = layerm.fill_no_overlap_expolygons;
|
||||
//w21
|
||||
fill.no_overlap_expolygons = layerm.fill_no_overlap_expolygons;
|
||||
} else {
|
||||
//w21
|
||||
fill.expolygons.emplace_back(surface.expolygon);
|
||||
auto t = find(fill.region_id_group.begin(), fill.region_id_group.end(), region_id);
|
||||
if (t == fill.region_id_group.end()) {
|
||||
fill.region_id_group.push_back(region_id);
|
||||
//fill.no_overlap_expolygons = union_ex(fill.no_overlap_expolygons, layerm.fill_no_overlap_expolygons);
|
||||
//w21
|
||||
fill.no_overlap_expolygons = union_ex(fill.no_overlap_expolygons, layerm.fill_no_overlap_expolygons);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user