FIX:If version information cannot be read, prompt 'The 3mf is not from Bambu Lab'
jira: none Change-Id: Ief8164e86ba2d1db551ec91980f41aa4de7286b8
This commit is contained in:
parent
9ee3b48d37
commit
66f0965cd0
|
@ -5284,7 +5284,11 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
}
|
||||
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"));
|
||||
if (file_version.maj() == 0 && file_version.min() == 0 && file_version.patch() == 0) {
|
||||
show_info(q, _L("The 3mf is not from Bambu Lab, load geometry data only."), _L("Load 3mf"));
|
||||
} else {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue