a trivial code change for SH-3073. The change makes sure to clear the texture fetching queue ONLY once during a teleporting.
parent
afcc61a07a
commit
d306cb059b
|
|
@ -610,11 +610,14 @@ static LLFastTimer::DeclareTimer FTM_IMAGE_STATS("Stats");
|
|||
void LLViewerTextureList::updateImages(F32 max_time)
|
||||
{
|
||||
static BOOL cleared = FALSE;
|
||||
if(gTeleportDisplay && !cleared)
|
||||
if(gTeleportDisplay)
|
||||
{
|
||||
clearFetchingRequests();
|
||||
gPipeline.clearRebuildGroups();
|
||||
cleared = TRUE;
|
||||
if(!cleared)
|
||||
{
|
||||
clearFetchingRequests();
|
||||
gPipeline.clearRebuildGroups();
|
||||
cleared = TRUE;
|
||||
}
|
||||
return;
|
||||
}
|
||||
cleared = FALSE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue