summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearables.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-04-02 17:27:11 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-04-02 17:27:11 -0400
commit819d6bec16a34beb057e60961ed17d62fad19bce (patch)
treea6ee836268e4303614ca967adbc287afff6bc19f /indra/newview/llagentwearables.cpp
parent7c14e354aedf5de21a3255a467750a09f18e33eb (diff)
parent54ed00b6a2bff91b98a69d4f89dd1a2ce0e559fe (diff)
merge
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rwxr-xr-xindra/newview/llagentwearables.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp
index 20ce2f63e2..843fe8ef5e 100755
--- a/indra/newview/llagentwearables.cpp
+++ b/indra/newview/llagentwearables.cpp
@@ -1447,7 +1447,16 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it
{
gAgentAvatarp->setCompositeUpdatesEnabled(TRUE);
gAgentAvatarp->updateVisualParams();
- gAgentAvatarp->invalidateAll();
+
+ // If we have not yet declouded, we may want to use
+ // baked texture UUIDs sent from the first objectUpdate message
+ // don't overwrite these. If we have already declouded, we've saved
+ // these ids as the last known good textures and can invalidate without
+ // re-clouding.
+ if (!gAgentAvatarp->getIsCloud())
+ {
+ gAgentAvatarp->invalidateAll();
+ }
}
// Start rendering & update the server