NEW: add config file to store functional compatibility

Change-Id: I9831cef9d57642fe7709eef87e74a64e21857e18
This commit is contained in:
lane.wei authored and Lane.Wei committed 2022-09-02 13:16:54 +08:00
1 parent b510e94e06
commit 3b9801f147
10 files changed
+232 -116

No files matched your search

+3
View File
@@ -1092,6 +1092,9 @@ void GUI_App::post_init()
if (hms_query)
hms_query->check_hms_info();
});
std::string functional_config_file = Slic3r::resources_dir() + "/config.json";
DeviceManager::load_functional_config(encode_path(functional_config_file.c_str()));
BOOST_LOG_TRIVIAL(info) << "finished post_init";
//BBS: remove the single instance currently