diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-10-17 18:32:26 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-10-17 18:32:26 -0400 |
commit | 2390e21a9d2fc6f5cabe132a2bbd807aec186cfa (patch) | |
tree | c9d28a5a034c2f0939c89f53e80c166b589c7910 /indra/newview/llviewerwearable.cpp | |
parent | 7d6da2ebe8db7aa73113659c709d03e16eca5094 (diff) |
additional diagnostics, improved shape stability at cost of increasing entanglement between baked and local appearance
Diffstat (limited to 'indra/newview/llviewerwearable.cpp')
-rwxr-xr-x | indra/newview/llviewerwearable.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerwearable.cpp b/indra/newview/llviewerwearable.cpp index 1200f65b6e..4477893063 100755 --- a/indra/newview/llviewerwearable.cpp +++ b/indra/newview/llviewerwearable.cpp @@ -320,6 +320,7 @@ void LLViewerWearable::writeToAvatar(LLAvatarAppearance *avatarp) if (!viewer_avatar->isValid()) return; +#if 0 // FIXME DRANO - kludgy way to avoid overwriting avatar state from wearables. // Ideally would avoid calling this func in the first place. if (viewer_avatar->isUsingServerBakes() && @@ -327,6 +328,7 @@ void LLViewerWearable::writeToAvatar(LLAvatarAppearance *avatarp) { return; } +#endif ESex old_sex = avatarp->getSex(); @@ -476,10 +478,13 @@ void LLViewerWearable::setItemID(const LLUUID& item_id) void LLViewerWearable::revertValues() { +#if 0 + // DRANO avoid overwrite when not in local appearance if (isAgentAvatarValid() && gAgentAvatarp->isUsingServerBakes() && !gAgentAvatarp->isUsingLocalAppearance()) { return; } +#endif LLWearable::revertValues(); |