summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/llwearable.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index 402504933c..3f07d6877c 100644..100755
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -619,6 +619,12 @@ void LLWearable::setTexturesToDefaults()
void LLWearable::writeToAvatar()
{
if (!isAgentAvatarValid()) return;
+#if 0
+ if (!gAgentAvatarp->isUsingLocalAppearance())
+ {
+ return;
+ }
+#endif
ESex old_sex = gAgentAvatarp->getSex();