diff options
author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-02-27 20:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 20:51:04 +0200 |
commit | 2f362aa1261129014bc0e10c8604be9af8540658 (patch) | |
tree | 92917183ce9c88e6ed38220514fb5a826fdebb6b /indra/newview/llviewertexturelist.cpp | |
parent | ecac92c60c1ca92aae0bb940c8a7952146c99df0 (diff) | |
parent | b52842ee2a328d80834f9a62c1b130ec757b9a03 (diff) |
Merge pull request #3583 'faster avatar loading' into release/2025.03
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r-- | indra/newview/llviewertexturelist.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index 12543089c9..f5bbff144b 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -30,6 +30,7 @@ #include "llviewertexturelist.h" +#include "llagent.h" #include "llgl.h" // fot gathering stats from GL #include "llimagegl.h" #include "llimagebmp.h" @@ -815,10 +816,19 @@ void LLViewerTextureList::updateImages(F32 max_time) clearFetchingRequests(); gPipeline.clearRebuildGroups(); cleared = true; + return; } - return; + // ARRIVING is a delay to let things decode, cache and process, + // so process textures like normal despite gTeleportDisplay + if (gAgent.getTeleportState() != LLAgent::TELEPORT_ARRIVING) + { + return; + } + } + else + { + cleared = false; } - cleared = false; LLAppViewer::getTextureFetch()->setTextureBandwidth((F32)LLTrace::get_frame_recording().getPeriodMeanPerSec(LLStatViewer::TEXTURE_NETWORK_DATA_RECEIVED).value()); |