mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -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
|
@ -290,7 +290,8 @@ void split_solid_surface(size_t layer_id, const SurfaceFill &fill, ExPolygons &n
|
|||
[](const Line &s) { return s.a == s.b; }),
|
||||
polygon_sections[section_idx].end());
|
||||
std::sort(polygon_sections[section_idx].begin(), polygon_sections[section_idx].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(); });
|
||||
}
|
||||
|
||||
Polygons reconstructed_area{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue