mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
Fix crash when start_extruder_id
is empty (#9584)
Fix crash when `start_extruder_id` is empty (SoftFever/OrcaSlicer#9580)
This commit is contained in:
parent
f0384e7bc3
commit
9b18c82bfb
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ static std::vector<unsigned int> solve_extruder_order(const std::vector<std::vec
|
||||||
std::swap(*all_extruders.begin(), *start_iter);
|
std::swap(*all_extruders.begin(), *start_iter);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
*start_extruder_id = all_extruders.front();
|
start_extruder_id = all_extruders.front();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int iterations = (1 << all_extruders.size());
|
unsigned int iterations = (1 << all_extruders.size());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue