From eb5a1bc7135462fb7cd04fa0853d08459516a75d Mon Sep 17 00:00:00 2001 From: SoftFever Date: Tue, 12 Mar 2024 18:48:03 +0800 Subject: [PATCH] Fixed an issue that profile OTA won't work if major version didn't match app version --- src/slic3r/Utils/PresetUpdater.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/slic3r/Utils/PresetUpdater.cpp b/src/slic3r/Utils/PresetUpdater.cpp index 29646ea5b49..483a10fc7b6 100644 --- a/src/slic3r/Utils/PresetUpdater.cpp +++ b/src/slic3r/Utils/PresetUpdater.cpp @@ -1182,16 +1182,16 @@ Updates PresetUpdater::priv::get_config_updates(const Semver &old_slic3r_version bool version_match = ((vendor_ver.maj() == cache_ver.maj()) && (vendor_ver.min() == cache_ver.min())); if (version_match && (vendor_ver < cache_ver)) { - Semver app_ver = *Semver::parse(SLIC3R_VERSION); - if (cache_ver.maj() == app_ver.maj()){ - BOOST_LOG_TRIVIAL(info) << "[Orca Updater]:need to update settings from "<