diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-08-30 19:05:23 -0400 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-08-30 19:05:23 -0400 |
commit | 726a26d4bc3b66dafbc8bdfe238c52a0eff23a74 (patch) | |
tree | 21d334fc8864421567322c0d56b1b368e69078f9 /indra/newview/llvoavatar.cpp | |
parent | 0094c4299f6fb627c0a759374ede39450efdc8d0 (diff) |
SH-4458 FIX "Pant flares rendering as tights after SSA rollout"
probably not related to SSA rollout, but we were not triggering the
callbacks for baked texture loads, since the avatar object was adding
paused callbacks to the callback list without properly setting the
flag to indicate paused callbacks.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 7909570883..0bd51d9c15 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -6328,6 +6328,9 @@ void LLVOAvatar::updateMeshTextures() } baked_img->setLoadedCallback(onBakedTextureLoaded, SWITCH_TO_BAKED_DISCARD, FALSE, FALSE, new LLUUID( mID ), src_callback_list, paused ); + + // this could add paused texture callbacks + mLoadedCallbacksPaused |= paused; } } else if (layerset && isUsingLocalAppearance()) @@ -6677,6 +6680,9 @@ void LLVOAvatar::onFirstTEMessageReceived() LL_DEBUGS("Avatar") << avString() << "layer_baked, setting onInitialBakedTextureLoaded as callback" << LL_ENDL; image->setLoadedCallback( onInitialBakedTextureLoaded, MAX_DISCARD_LEVEL, FALSE, FALSE, new LLUUID( mID ), src_callback_list, paused ); + + // this could add paused texture callbacks + mLoadedCallbacksPaused |= paused; } } |