Fix modifiers bridge speed not respected (#13971)

* Respect modifiers bridge speed
This commit is contained in:
Kiss Lorand
2026-06-01 11:00:00 +03:00
committed by GitHub
parent 86ad4d141a
commit 752551292b
2 changed files with 41 additions and 44 deletions

View File

@@ -359,7 +359,7 @@ static std::vector<std::vector<ExPolygons>> slices_to_regions(
bool rhs_empty = rhs.region_id < 0 || rhs.expolygons.empty();
// Sort the empty items to the end of the list.
// Sort by region_id & volume_id lexicographically.
return ! this_empty && (rhs_empty || (this->region_id < rhs.region_id || (this->region_id == rhs.region_id && volume_id < volume_id)));
return ! this_empty && (rhs_empty || (this->region_id < rhs.region_id || (this->region_id == rhs.region_id && volume_id < rhs.volume_id)));
}
};