Fixed an issue that Orca project can't be loaded in dev branch

This commit is contained in:
SoftFever 2024-01-06 10:13:34 +08:00
parent 18b52fd780
commit 793a753cfc

View file

@ -19,6 +19,7 @@
///|/ ///|/
#include "Plater.hpp" #include "Plater.hpp"
#include "libslic3r/Config.hpp" #include "libslic3r/Config.hpp"
#include "libslic3r_version.h"
#include <cstddef> #include <cstddef>
#include <algorithm> #include <algorithm>
@ -3486,7 +3487,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
load_type = static_cast<LoadType>(std::stoi(import_project_action)); load_type = static_cast<LoadType>(std::stoi(import_project_action));
// BBS: version check // BBS: version check
Semver app_version = *(Semver::parse(SLIC3R_VERSION)); Semver app_version = *(Semver::parse(SoftFever_VERSION));
if (en_3mf_file_type == En3mfType::From_Prusa) { if (en_3mf_file_type == En3mfType::From_Prusa) {
// do not reset the model config // do not reset the model config
load_config = false; load_config = false;