mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Notifications & warning dialog
notifications dialog with warnings produced by slicing is shown before exporting
This commit is contained in:
parent
4bfb69eb14
commit
b3f8ae5ca7
21 changed files with 1791 additions and 89 deletions
|
@ -686,6 +686,7 @@ std::vector<std::pair<coordf_t, std::vector<GCode::LayerToPrint>>> GCode::collec
|
|||
std::sort(ordering.begin(), ordering.end(), [](const OrderingItem &oi1, const OrderingItem &oi2) { return oi1.print_z < oi2.print_z; });
|
||||
|
||||
std::vector<std::pair<coordf_t, std::vector<LayerToPrint>>> layers_to_print;
|
||||
|
||||
// Merge numerically very close Z values.
|
||||
for (size_t i = 0; i < ordering.size();) {
|
||||
// Find the last layer with roughly the same print_z.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue