Limited brim width to 200 mm (larger values make slicer hang or crash due to arithmetic overflow)
This commit is contained in:
parent
b5fea72618
commit
8c23678fa0
@ -462,6 +462,7 @@ void PrintConfigDef::init_fff_params()
|
|||||||
def->tooltip = L("Horizontal width of the brim that will be printed around each object on the first layer.");
|
def->tooltip = L("Horizontal width of the brim that will be printed around each object on the first layer.");
|
||||||
def->sidetext = L("mm");
|
def->sidetext = L("mm");
|
||||||
def->min = 0;
|
def->min = 0;
|
||||||
|
def->max = 200;
|
||||||
def->mode = comSimple;
|
def->mode = comSimple;
|
||||||
def->set_default_value(new ConfigOptionFloat(0));
|
def->set_default_value(new ConfigOptionFloat(0));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user