summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-03-06 17:20:33 -0500
committerNyx Linden <nyx@lindenlab.com>2013-03-06 17:20:33 -0500
commit2784a515b0e725f74bf0e5fab47153ba358b26d6 (patch)
tree9d48add5d6d2c63f20fa03143bbd2762fe43e159 /indra
parenta0a9a60e283bf5e9a19551e359c154d3d20b3f2d (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-xindra/newview/llvoavatarself.cpp5
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.
}
}