Hopefully allows better behavior when loading other avatars. This is from v3, and taking a cursory glance, it's useful as onFirstTEMessageReceived is called before LLVOAvatar::idleUpdate, which means that mLoadedCallbacksPaused hasn't been updated for that particualr frame yet. Using LLVOAvatar::isVisible() is more accurate.
This commit is contained in:
@@ -7643,7 +7643,7 @@ void LLVOAvatar::updateMeshTextures()
|
||||
if(!isSelf())
|
||||
{
|
||||
src_callback_list = &mCallbackTextureList ;
|
||||
paused = mLoadedCallbacksPaused ;
|
||||
paused = !isVisible();
|
||||
}
|
||||
|
||||
std::vector<BOOL> is_layer_baked;
|
||||
@@ -8208,7 +8208,7 @@ void LLVOAvatar::onFirstTEMessageReceived()
|
||||
if(!isSelf())
|
||||
{
|
||||
src_callback_list = &mCallbackTextureList ;
|
||||
paused = mLoadedCallbacksPaused ;
|
||||
paused = !isVisible();
|
||||
}
|
||||
|
||||
for (U32 i = 0; i < mBakedTextureDatas.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user