mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 11:50:39 +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
|
@ -114,9 +114,11 @@ void AssetRequest::start() {
|
|||
_totalReceived += data.size();
|
||||
emit progress(_totalReceived, data.size());
|
||||
|
||||
if (!_byteRange.isSet()) {
|
||||
saveToCache(getUrl(), data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (_error != NoError) {
|
||||
qCWarning(asset_client) << "Got error retrieving asset" << _hash << "- error code" << _error;
|
||||
|
|
Loading…
Reference in a new issue