mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
fixed weird info box display of filenames
This commit is contained in:
parent
7cee80f0cf
commit
4c40e3bdf4
1 changed files with 2 additions and 2 deletions
|
@ -6457,7 +6457,7 @@ void Application::addAssetToWorldFromURL(QString url) {
|
|||
}
|
||||
if (url.contains("vr.google.com/downloads")) {
|
||||
filename = url.section('/', -1);
|
||||
filename.remove(".zip?noDownload=false");
|
||||
filename.remove(".zip");
|
||||
}
|
||||
|
||||
if (!DependencyManager::get<NodeList>()->getThisNodeCanWriteAssets()) {
|
||||
|
@ -6487,7 +6487,7 @@ void Application::addAssetToWorldFromURLRequestFinished() {
|
|||
}
|
||||
if (url.contains("vr.google.com/downloads")) {
|
||||
filename = url.section('/', -1);
|
||||
filename.remove(".zip?noDownload=false");
|
||||
filename.remove(".zip");
|
||||
isBlocks = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue