diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-03-06 17:20:33 -0500 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-03-06 17:20:33 -0500 |
commit | 2784a515b0e725f74bf0e5fab47153ba358b26d6 (patch) | |
tree | 9d48add5d6d2c63f20fa03143bbd2762fe43e159 /indra | |
parent | a0a9a60e283bf5e9a19551e359c154d3d20b3f2d (diff) |
SH-3954 SH-3941 SH-3910 FIX local appearance does not update
We suppress texture downloads for local textures not needed with server side
baking. We need to explicitly re-set texture priority for local textures
when entering appearance mode.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llvoavatarself.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index d3c91f3339..66ad4ec394 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -2963,8 +2963,9 @@ void LLVOAvatarSelf::onCustomizeStart(bool disable_camera_switch) gAgentAvatarp->idleUpdateAppearanceAnimation(); #endif - gAgentAvatarp->invalidateAll(); - gAgentAvatarp->updateMeshTextures(); + gAgentAvatarp->updateTextures(); // call updateTextureStats + gAgentAvatarp->invalidateAll(); // mark all bakes as dirty, request updates + gAgentAvatarp->updateMeshTextures(); // make sure correct textures are applied to the avatar mesh. } } |