FIX:fixed some models with special names cannot be downloaded

Change-Id: Id5a3dff960d6e9868dfa87aef96093de2dc215e6
This commit is contained in:
tao wang 2022-12-20 16:37:25 +08:00 committed by Lane.Wei
parent 301d06dab4
commit c8df45c11f
5 changed files with 23 additions and 13 deletions

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();