mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
pass the byte range to asset client from AssetResourceRequest
This commit is contained in:
parent
229a481232
commit
7ae8c741c5
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void AssetResourceRequest::requestMappingForPath(const AssetPath& path) {
|
|||
void AssetResourceRequest::requestHash(const AssetHash& hash) {
|
||||
// Make request to atp
|
||||
auto assetClient = DependencyManager::get<AssetClient>();
|
||||
_assetRequest = assetClient->createRequest(hash);
|
||||
_assetRequest = assetClient->createRequest(hash, _byteRange);
|
||||
|
||||
connect(_assetRequest, &AssetRequest::progress, this, &AssetResourceRequest::onDownloadProgress);
|
||||
connect(_assetRequest, &AssetRequest::finished, this, [this](AssetRequest* req) {
|
||||
|
|
Loading…
Reference in a new issue