ENH: version: keep original version compare logic

jira: no-jira
Change-Id: I52461ec6dee540bd9b42ae9e4d2b367e3b1dd1a6
(cherry picked from commit 750dabf1b487ced27b32b278b1967e7941c35ca2)
This commit is contained in:
lane.wei 2024-12-05 22:36:52 +08:00 committed by Noisyfox
parent bc9c08a614
commit 148ccec58d

View file

@ -4437,7 +4437,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
// for (ModelVolume *model_volume : model_object->volumes) model_volume->config.reset();
// }
// }
else if (load_config && (file_version.maj() == app_version.maj()) && (file_version.min() > app_version.min())) {
else if (load_config && (file_version > app_version)) {
if (config_substitutions.unrecogized_keys.size() > 0) {
wxString text = wxString::Format(_L("The 3mf's version %s is newer than %s's version %s, found following unrecognized keys:"),
file_version.to_string(), std::string(SLIC3R_APP_FULL_NAME), app_version.to_string());