mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Fixed an issue that Orca project can't be loaded in dev branch
This commit is contained in:
parent
18b52fd780
commit
793a753cfc
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue