FIX:fixed some models with special names cannot be downloaded

Change-Id: Id5a3dff960d6e9868dfa87aef96093de2dc215e6
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-01-10 19:08:26 +08:00
1 parent 301d06dab4
commit c8df45c11f
5 files changed
+23 -13

No files matched your search

+4 -1
View File
@@ -147,7 +147,10 @@ namespace GUI {
filename = j["data"]["filename"].get<std::string>();
if (download_url.empty()) return;
wxGetApp().plater()->request_model_download(download_url, filename);
wxGetApp().set_download_model_url(download_url);
wxGetApp().set_download_model_name(filename);
wxGetApp().plater()->request_model_download();
}
else if(strCmd == "request_close_publish_window") {
this->Hide();