mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Fixes for Xcode 16.0 debugger crashing (with relwithdebinfo) (#6932)
* Fixes for XCode 16.0 * Merge branch 'main' into Xcode-16-debug-fixes * Merge branch 'SoftFever:main' into Xcode-16-debug-fixes * Merge branch 'main' into Xcode-16-debug-fixes * Merge branch 'SoftFever:main' into Xcode-16-debug-fixes * Merge branch 'SoftFever:main' into Xcode-16-debug-fixes * Merge branch 'SoftFever:main' into Xcode-16-debug-fixes * Merge branch 'main' into Xcode-16-debug-fixes
This commit is contained in:
parent
fb19c6a904
commit
d7789282b9
3 changed files with 7 additions and 3 deletions
|
@ -2513,7 +2513,10 @@ void PrintObject::bridge_over_infill()
|
|||
[](const Line &s) { return s.a == s.b; }),
|
||||
polygon_sections[i].end());
|
||||
std::sort(polygon_sections[i].begin(), polygon_sections[i].end(),
|
||||
[](const Line &a, const Line &b) { return a.a.y() < b.b.y(); });
|
||||
[](const Line &a, const Line &b) {
|
||||
if (a == b) return false; // Ensure irreflexivity
|
||||
return a.a.y() < b.b.y();
|
||||
});
|
||||
}
|
||||
|
||||
// reconstruct polygon from polygon sections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue