mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Refactored parallelization code, cherry picked from @alexrj 36789774471a0bf9a66bb33cc3ab6984f8ede8c6
This commit is contained in:
parent
9fbd135f14
commit
73ddd3b438
6 changed files with 106 additions and 159 deletions
|
@ -1292,7 +1292,7 @@ PrintConfigDef::PrintConfigDef()
|
|||
def->readonly = true;
|
||||
def->min = 1;
|
||||
def->max = 16;
|
||||
def->default_value = new ConfigOptionInt(boost::thread::hardware_concurrency());
|
||||
def->default_value = new ConfigOptionInt((boost::thread::hardware_concurrency() == 0) ? 2 : boost::thread::hardware_concurrency());
|
||||
|
||||
def = this->add("toolchange_gcode", coString);
|
||||
def->label = "Tool change G-code";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue