mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Merge pull request #10317 from birarda/atp-range-caching
don't save ATP range requests to cache
This commit is contained in:
commit
90e79c7bbc
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