mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
Merge pull request #10322 from Atlante45/RC-38-patch
[RC-38 patch] Don't save ATP requests to cache if they are range requests
This commit is contained in:
commit
2f12031c51
1 changed files with 4 additions and 2 deletions
|
@ -113,8 +113,10 @@ void AssetRequest::start() {
|
|||
_data = data;
|
||||
_totalReceived += data.size();
|
||||
emit progress(_totalReceived, data.size());
|
||||
|
||||
saveToCache(getUrl(), data);
|
||||
|
||||
if (!_byteRange.isSet()) {
|
||||
saveToCache(getUrl(), data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue