Fixed third batch of locale-dependent calls

This commit is contained in:
Lukas Matena 2021-05-10 08:13:23 +02:00
parent fef385cd6b
commit c5c6f51ae0
11 changed files with 34 additions and 26 deletions

View file

@ -345,6 +345,7 @@ std::string get_cfg_value(const DynamicPrintConfig &cfg, const std::string &key)
void fill_iniconf(ConfMap &m, const SLAPrint &print)
{
CNumericLocalesSetter locales_setter; // for to_string
auto &cfg = print.full_print_config();
m["layerHeight"] = get_cfg_value(cfg, "layer_height");
m["expTime"] = get_cfg_value(cfg, "exposure_time");