https://github.com/prusa3d/Slic3r/issues/315
a crash if the max_layer_height is left to a default value of zero.
This commit is contained in:
bubnikv 2017-06-05 12:02:26 +02:00
parent ad3be1a69e
commit 88c9ae6ca6
2 changed files with 16 additions and 3 deletions

View file

@ -21,7 +21,7 @@ namespace Slic3r
{
static const coordf_t MIN_LAYER_HEIGHT = 0.01;
static const coordf_t MIN_LAYER_HEIGHT_DEFAULT = 0.05;
static const coordf_t MIN_LAYER_HEIGHT_DEFAULT = 0.07;
// Minimum layer height for the variable layer height algorithm.
inline coordf_t min_layer_height_from_nozzle(const PrintConfig &print_config, int idx_nozzle)