FIX: crash when opening old version file
jira: STUDIO-8155 Change-Id: I67ac46f8e01d7c3ed2dedf40c1dab9841a3af02b
This commit is contained in:
parent
00a6e17c6c
commit
0e848f4fba
|
@ -4053,7 +4053,12 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
auto res = newer_dlg.ShowModal();
|
||||
}
|
||||
}
|
||||
} else if (!load_config) {
|
||||
}
|
||||
else if (load_config && config_loaded.empty()) {
|
||||
load_config = false;
|
||||
show_info(q, _L("The 3mf is generated by old Bambu Studio, load geometry data only."), _L("Load 3mf"));
|
||||
}
|
||||
else if (!load_config) {
|
||||
// reset config except color
|
||||
for (ModelObject *model_object : model.objects) {
|
||||
bool has_extruder = model_object->config.has("extruder");
|
||||
|
|
Loading…
Reference in New Issue