From 9505bf746cbd2a17b3d3c8f4d12e444b99d504d9 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 25 Apr 2017 21:12:14 -0700 Subject: [PATCH] Fix lower mips not being downloaded after initial mips --- .../model-networking/src/model-networking/TextureCache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/model-networking/src/model-networking/TextureCache.cpp b/libraries/model-networking/src/model-networking/TextureCache.cpp index e04e002784..0e9ce46912 100644 --- a/libraries/model-networking/src/model-networking/TextureCache.cpp +++ b/libraries/model-networking/src/model-networking/TextureCache.cpp @@ -635,8 +635,6 @@ void NetworkTexture::maybeHandleFinishedInitialLoad() { // images with the same hash being loaded concurrently. Only one of them will make it into the cache by hash first and will // be the winner texture = textureCache->cacheTextureByHash(filename, texture); - - } _lowestKnownPopulatedMip = _originalKtxDescriptor->header.numberOfMipmapLevels; @@ -660,6 +658,7 @@ void NetworkTexture::maybeHandleFinishedInitialLoad() { _ktxMipRequest->deleteLater(); _ktxMipRequest = nullptr; } + startRequestForNextMipLevel(); } }