mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-07 07:17:43 -07:00
Fix a crash issue when importing a 3MF file saved from version 2.3.1-alpha as geometry only
This commit is contained in:
parent
7aa3ce8a4d
commit
f27381533c
1 changed files with 1 additions and 1 deletions
|
|
@ -3853,7 +3853,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
// }
|
||||
// }
|
||||
// Orca: check if the project is created with OrcaSlicer 2.3.1-alpha and use the sparse infill rotation template for non-safe infill patterns
|
||||
else if ((file_version < app_version) && file_version == Semver("2.3.1-alpha")) {
|
||||
else if (load_config && (file_version < app_version) && file_version == Semver("2.3.1-alpha")) {
|
||||
if (!config_loaded.opt_string("sparse_infill_rotate_template").empty()) {
|
||||
const auto _sparse_infill_pattern =
|
||||
config_loaded.option<ConfigOptionEnum<InfillPattern>>("sparse_infill_pattern")->value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue