Skip to content
Snippets Groups Projects
Commit d306cb05 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

a trivial code change for SH-3073. The change makes sure to clear the texture...

a trivial code change for  SH-3073. The change makes sure to clear the texture fetching queue ONLY once during a teleporting.
parent afcc61a0
Branches
Tags
No related merge requests found
...@@ -610,11 +610,14 @@ static LLFastTimer::DeclareTimer FTM_IMAGE_STATS("Stats"); ...@@ -610,11 +610,14 @@ static LLFastTimer::DeclareTimer FTM_IMAGE_STATS("Stats");
void LLViewerTextureList::updateImages(F32 max_time) void LLViewerTextureList::updateImages(F32 max_time)
{ {
static BOOL cleared = FALSE; static BOOL cleared = FALSE;
if(gTeleportDisplay && !cleared) if(gTeleportDisplay)
{
if(!cleared)
{ {
clearFetchingRequests(); clearFetchingRequests();
gPipeline.clearRebuildGroups(); gPipeline.clearRebuildGroups();
cleared = TRUE; cleared = TRUE;
}
return; return;
} }
cleared = FALSE; cleared = FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment