SH-4458 SH-3652 FIX Pants flare does not load properly upon an avatar returning
Viewer added a new callback when the avatar returned without resetting the timer for last reference to the saved raw image. This created a time window in which new callbacks could get cleared out due to the raw image getting destroyed. Since the callback was removed, pants flare was not properly applied. Appears to be working now.meow-7.2.2
parent
26e737e963
commit
b486f6a72c
|
|
@ -2169,6 +2169,7 @@ void LLViewerFetchedTexture::setLoadedCallback( loaded_callback_func loaded_call
|
|||
}
|
||||
}
|
||||
mLastCallBackActiveTime = sCurrentTime ;
|
||||
mLastReferencedSavedRawImageTime = sCurrentTime;
|
||||
}
|
||||
|
||||
void LLViewerFetchedTexture::clearCallbackEntryList()
|
||||
|
|
|
|||
|
|
@ -6316,6 +6316,8 @@ void LLVOAvatar::updateMeshTextures()
|
|||
// we'll consider it loaded and use it (rather than
|
||||
// doing compositing).
|
||||
useBakedTexture( baked_img->getID() );
|
||||
mLoadedCallbacksPaused |= !isVisible();
|
||||
checkTextureLoading();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -6331,6 +6333,7 @@ void LLVOAvatar::updateMeshTextures()
|
|||
|
||||
// this could add paused texture callbacks
|
||||
mLoadedCallbacksPaused |= paused;
|
||||
checkTextureLoading();
|
||||
}
|
||||
}
|
||||
else if (layerset && isUsingLocalAppearance())
|
||||
|
|
|
|||
Loading…
Reference in New Issue