SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry
This commit is contained in:
parent
f970741dd4
commit
b0b65a1f89
@ -5388,7 +5388,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