From 2c244732db2d908b54dfdffb6f465c9ccaa9d516 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Thu, 28 May 2020 12:03:48 +0200 Subject: [PATCH] Introduced a limit on max print z (1.2 m) A follow-up of 815989d, related to #2877 --- src/libslic3r/PrintConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 04c886963f..9684bc6728 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -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));