mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-02 07:42:14 +00:00
ENH: version: keep original version compare logic
jira: no-jira Change-Id: I52461ec6dee540bd9b42ae9e4d2b367e3b1dd1a6 (cherry picked from commit 750dabf1b487ced27b32b278b1967e7941c35ca2)
This commit is contained in:
@@ -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();
|
// 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) {
|
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:"),
|
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());
|
file_version.to_string(), std::string(SLIC3R_APP_FULL_NAME), app_version.to_string());
|
||||||
|
|||||||
Reference in New Issue
Block a user