Introduced a limit on max print z (1.2 m)

A follow-up of 815989d, related to #2877
This commit is contained in:
Lukas Matena 2020-05-28 12:03:48 +02:00
parent 4b6bcd7028
commit 2c244732db

View file

@ -85,6 +85,8 @@ void PrintConfigDef::init_common_params()
def->label = L("Max print height");
def->tooltip = L("Set this to the maximum height that can be reached by your extruder while printing.");
def->sidetext = L("mm");
def->min = 0;
def->max = 1200;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(200.0));