Fix of the last commits:

1) FLT_MAX replaced with limits,
2) apply_config is called by the test case harness to update layer height profile.
This commit is contained in:
bubnikv 2017-06-09 14:24:00 +02:00
parent 958c6553e7
commit 881a5c531b
2 changed files with 4 additions and 1 deletions

View file

@ -189,6 +189,8 @@ sub init_print {
$print->add_model_object($model_object);
}
}
# Call apply_config one more time, so that the layer height profiles are updated over all PrintObjects.
$print->apply_config($config);
$print->validate;
# We return a proxy object in order to keep $models alive as required by the Print API.