mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 18:50:12 +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) {
|
void AssetResourceRequest::requestHash(const AssetHash& hash) {
|
||||||
// Make request to atp
|
// Make request to atp
|
||||||
auto assetClient = DependencyManager::get<AssetClient>();
|
auto assetClient = DependencyManager::get<AssetClient>();
|
||||||
_assetRequest = assetClient->createRequest(hash);
|
_assetRequest = assetClient->createRequest(hash, _byteRange);
|
||||||
|
|
||||||
connect(_assetRequest, &AssetRequest::progress, this, &AssetResourceRequest::onDownloadProgress);
|
connect(_assetRequest, &AssetRequest::progress, this, &AssetResourceRequest::onDownloadProgress);
|
||||||
connect(_assetRequest, &AssetRequest::finished, this, [this](AssetRequest* req) {
|
connect(_assetRequest, &AssetRequest::finished, this, [this](AssetRequest* req) {
|
||||||
|
|
Loading…
Reference in a new issue