ENH:model files will not be imported when downloading plugins

Change-Id: I87ca42420f2f21e8f6e117ebaa5cb389203d70c2
This commit is contained in:
tao wang 2023-06-06 13:37:05 +08:00 committed by Lane.Wei
parent a01b0c4f32
commit d5bfbfbaa6
2 changed files with 5 additions and 5 deletions

View File

@ -1032,10 +1032,10 @@ void GUI_App::post_init()
}
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format("download_url %1%") % download_url;
if (!download_url.empty()) {
request_model_download(from_u8(download_url));
}
if (!download_url.empty()) {
m_download_file_url = from_u8(download_url).ToStdString();
}
}
else {

View File

@ -8067,7 +8067,7 @@ void Plater::import_model_id(wxString download_info)
p->set_project_filename(wxString(filename));
}
else {
wxMessageBox(msg);
if (!msg.empty()) wxMessageBox(msg);
return;
}
}