From 38b86616ce19d50970e0280d63e376537997f504 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 c8d874dcb..15b1ef94e 100644 --- a/src/libslic3r/PresetBundle.cpp +++ b/src/libslic3r/PresetBundle.cpp @@ -2949,6 +2949,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;