From b8834c59cb8591b17a3eb1e976dbaaa75065c082 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Fri, 22 Sep 2023 22:44:53 +0800 Subject: [PATCH] FIX: fix the config parse error for some language JIRA: github-2568 Change-Id: Idd1ccb118dde4d0fe663ee4d1e4426c0e504ff1e --- src/libslic3r/PresetBundle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/PresetBundle.cpp b/src/libslic3r/PresetBundle.cpp index 57bff3b265..f048c77cab 100644 --- a/src/libslic3r/PresetBundle.cpp +++ b/src/libslic3r/PresetBundle.cpp @@ -2729,6 +2729,7 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool std::pair PresetBundle::load_vendor_configs_from_json( const std::string &path, const std::string &vendor_name, LoadConfigBundleAttributes flags, ForwardCompatibilitySubstitutionRule compatibility_rule) { + CNumericLocalesSetter locales_setter; // Enable substitutions for user config bundle, throw an exception when loading a system profile. ConfigSubstitutionContext substitution_context { compatibility_rule }; PresetsConfigSubstitutions substitutions;