mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: fix the version key treated as unrecognized issue
Change-Id: I0c0a85cb021af54c150e505ed0e11ffa037ed9e6
This commit is contained in:
@@ -757,7 +757,7 @@ int ConfigBase::load_from_json(const std::string &file, ConfigSubstitutionContex
|
|||||||
if (boost::iequals(it.key(),BBL_JSON_KEY_VERSION)) {
|
if (boost::iequals(it.key(),BBL_JSON_KEY_VERSION)) {
|
||||||
key_values.emplace(BBL_JSON_KEY_VERSION, it.value());
|
key_values.emplace(BBL_JSON_KEY_VERSION, it.value());
|
||||||
}
|
}
|
||||||
if (boost::iequals(it.key(), BBL_JSON_KEY_IS_CUSTOM)) {
|
else if (boost::iequals(it.key(), BBL_JSON_KEY_IS_CUSTOM)) {
|
||||||
key_values.emplace(BBL_JSON_KEY_IS_CUSTOM, it.value());
|
key_values.emplace(BBL_JSON_KEY_IS_CUSTOM, it.value());
|
||||||
}
|
}
|
||||||
else if (boost::iequals(it.key(), BBL_JSON_KEY_NAME)) {
|
else if (boost::iequals(it.key(), BBL_JSON_KEY_NAME)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user