Limit number of perimeters to 10 thousands, that is 50 meters with 0.2mm

nozzle. The number of perimeters has to be limited due to a numerical
overflow of fixed point 32bit coordinates in the offsetting algorithm.
This commit is contained in:
bubnikv 2019-03-21 14:56:20 +01:00
parent 562343cd2a
commit 4be6c17fd3

View file

@ -1375,6 +1375,7 @@ void PrintConfigDef::init_fff_params()
def->sidetext = L("(minimum)");
def->aliases = { "perimeter_offsets" };
def->min = 0;
def->max = 10000;
def->default_value = new ConfigOptionInt(3);
def = this->add("post_process", coStrings);