mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:custom gcodes are reset after import geometry only (STUDIO-2595)
Change-Id: I11052ea28aacca78103852d2beba0dc97b42eb31
This commit is contained in:
parent
0440e288f7
commit
b42a0d5632
1 changed files with 8 additions and 3 deletions
|
@ -3249,9 +3249,14 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||||
if (!config_substitutions.empty()) show_substitutions_info(config_substitutions.substitutions, filename.string());
|
if (!config_substitutions.empty()) show_substitutions_info(config_substitutions.substitutions, filename.string());
|
||||||
|
|
||||||
// BBS
|
// BBS
|
||||||
this->model.plates_custom_gcodes = model.plates_custom_gcodes;
|
if (load_model && !load_config) {
|
||||||
this->model.design_info = model.design_info;
|
;
|
||||||
this->model.model_info = model.model_info;
|
}
|
||||||
|
else {
|
||||||
|
this->model.plates_custom_gcodes = model.plates_custom_gcodes;
|
||||||
|
this->model.design_info = model.design_info;
|
||||||
|
this->model.model_info = model.model_info;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (load_config) {
|
if (load_config) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue