SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry
This commit is contained in:
parent
99861f1b6e
commit
8d5dd759ad
@ -5566,7 +5566,7 @@ bool Plater::load_files(const wxArrayString& filenames)
|
||||
if (!model().objects.empty()) {
|
||||
if ((boost::algorithm::iends_with(filename, ".3mf") && !is_project_3mf(it->string())) ||
|
||||
(boost::algorithm::iends_with(filename, ".amf") && !boost::algorithm::iends_with(filename, ".zip.amf")))
|
||||
load_type = LoadType::OpenProject;
|
||||
load_type = LoadType::LoadGeometry;
|
||||
else {
|
||||
if (wxGetApp().app_config->get("show_drop_project_dialog") == "1") {
|
||||
ProjectDropDialog dlg(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user