summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-28 17:59:10 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-28 17:59:10 -0400
commita6bdef648014ec1c7424b2bd307b3453cc5c786c (patch)
tree531ff8caca86cdc1ebd0ad8aef292549d9e7bd62 /indra/newview/llviewermenu.cpp
parent87833a2485216e742da2617bc79dc600636f3736 (diff)
Force rebake now calls requestServerAppearanceUpdate() if supported
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rwxr-xr-xindra/newview/llviewermenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 24bed93f04..3c0136c258 100755
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -7620,6 +7620,10 @@ void handle_rebake_textures(void*)
// Slam pending upload count to "unstick" things
bool slam_for_debug = true;
gAgentAvatarp->forceBakeAllTextures(slam_for_debug);
+ if (gAgent.getRegion() && gAgent.getRegion()->getCentralBakeVersion())
+ {
+ LLAppearanceMgr::instance().requestServerAppearanceUpdate();
+ }
}
void toggle_visibility(void* user_data)