summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2012-04-02 11:22:01 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2012-04-02 11:22:01 -0400
commit54ed00b6a2bff91b98a69d4f89dd1a2ce0e559fe (patch)
treeda99f0d2246dd11d7ae62fcd3a1d1d4bfe8d7321 /indra
parent02328a13d7a5b6fde9f4a7afa7816e3acc7eee83 (diff)
parent6a7582c09d5533cab09ca07da301d9c987b422f5 (diff)
Automated merge with https://bitbucket.org/VirLinden/runway
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llagent.cpp3
-rwxr-xr-xindra/newview/llagentwearables.cpp11
-rwxr-xr-xindra/newview/llvoavatarself.cpp2
3 files changed, 13 insertions, 3 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 3f1f410db8..b1ece51439 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3310,13 +3310,12 @@ void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void *
else
{
// no cache of this bake. request upload.
- gAgentAvatarp->requestLayerSetUpload(baked_index);
+ gAgentAvatarp->invalidateComposite(gAgentAvatarp->getLayerSet(baked_index),TRUE);
}
}
}
}
}
-
llinfos << "Received cached texture response for " << num_results << " textures." << llendl;
gAgentAvatarp->outputRezTiming("Fetched agent wearables textures from cache. Will now load them");
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
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 5eb0cefb40..51d603f3bd 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -822,6 +822,8 @@ U32 LLVOAvatarSelf::processUpdateMessage(LLMessageSystem *mesgsys,
mInitialBakeIDs[i] = texture_id;
}
+ onFirstTEMessageReceived();
+
mInitialBakesLoaded = true;
}