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
1 changed files with 1 additions and 1 deletions
|
@ -5388,7 +5388,7 @@ bool Plater::load_files(const wxArrayString& filenames)
|
||||||
if (!model().objects.empty()) {
|
if (!model().objects.empty()) {
|
||||||
if ((boost::algorithm::iends_with(filename, ".3mf") && !is_project_3mf(it->string())) ||
|
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")))
|
(boost::algorithm::iends_with(filename, ".amf") && !boost::algorithm::iends_with(filename, ".zip.amf")))
|
||||||
load_type = LoadType::OpenProject;
|
load_type = LoadType::LoadGeometry;
|
||||||
else {
|
else {
|
||||||
if (wxGetApp().app_config->get("show_drop_project_dialog") == "1") {
|
if (wxGetApp().app_config->get("show_drop_project_dialog") == "1") {
|
||||||
ProjectDropDialog dlg(filename);
|
ProjectDropDialog dlg(filename);
|
||||||
|
|
Loading…
Reference in a new issue