mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Set limits to the "extrusion_multiplier" value and show warning message, if out of range value was inputted
This commit is contained in:
parent
0ad3a63a3b
commit
f37b9c4d51
2 changed files with 25 additions and 6 deletions
|
@ -607,6 +607,7 @@ void PrintConfigDef::init_fff_params()
|
|||
"this setting to get nice surface finish and correct single wall widths. "
|
||||
"Usual values are between 0.9 and 1.1. If you think you need to change this more, "
|
||||
"check filament diameter and your firmware E steps.");
|
||||
def->max = 2;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloats { 1. });
|
||||
|
||||
|
@ -619,6 +620,7 @@ void PrintConfigDef::init_fff_params()
|
|||
"If expressed as percentage (for example: 230%), it will be computed over layer height.");
|
||||
def->sidetext = L("mm or %");
|
||||
def->min = 0;
|
||||
def->max = 1000;
|
||||
def->mode = comAdvanced;
|
||||
def->set_default_value(new ConfigOptionFloatOrPercent(0, false));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue