mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Stop bed filling if enough instances are generated
This commit is contained in:
parent
0fc1929076
commit
30693e29e4
4 changed files with 15 additions and 8 deletions
|
@ -83,7 +83,8 @@ struct ArrangeParams {
|
|||
|
||||
/// Progress indicator callback called when an object gets packed.
|
||||
/// The unsigned argument is the number of items remaining to pack.
|
||||
std::function<void(unsigned)> progressind;
|
||||
/// Second is the current bed idx being filled.
|
||||
std::function<void(unsigned, unsigned /*bed_idx*/)> progressind;
|
||||
|
||||
/// A predicate returning true if abort is needed.
|
||||
std::function<bool(void)> stopcondition;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue