aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r--linden/indra/newview/llagent.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index e2be0d0..e8ee2a1 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -7404,10 +7404,14 @@ void LLAgent::sendAgentSetAppearance()
7404 msg->addU8Fast(_PREHASH_TextureIndex, (U8)texture_index); 7404 msg->addU8Fast(_PREHASH_TextureIndex, (U8)texture_index);
7405 } 7405 }
7406 msg->nextBlockFast(_PREHASH_ObjectData); 7406 msg->nextBlockFast(_PREHASH_ObjectData);
7407 mAvatarObject->packTEMessage ( 7407
7408 gMessageSystem, 7408 int shield = 0;
7409 gSavedSettings.getBOOL("ClothingLayerProtection") 7409 if(gSavedSettings.getBOOL("ClothingLayerProtection"))
7410 ); 7410 {
7411 if(gSavedSettings.getBOOL("ShowMyClientTagToOthers")) shield = 1;
7412 else shield = 2;
7413 }
7414 mAvatarObject->packTEMessage ( gMessageSystem, shield );
7411 } 7415 }
7412 else 7416 else
7413 { 7417 {