diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-15 14:36:32 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-15 14:36:32 -0400 |
commit | 9b014886b0062a0d2c3ac9aa4a3cf3eb6a6488be (patch) | |
tree | 93a73dbc025a23bc1bf5cdf6fa5423a514d6c5b4 /indra/newview | |
parent | 44f65edd68699ecf3f692351b3a601b71585bf6e (diff) |
merge
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 582c20c13f..d60db17d82 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -263,7 +263,7 @@ public: void eraseTypeToRecover(LLWearableType::EType type); void setObjItems(const LLInventoryModel::item_array_t& items); void setGestItems(const LLInventoryModel::item_array_t& items); - bool isValid(); + bool isMostRecent(); void handleLateArrivals(); void resetTime(F32 timeout); @@ -279,7 +279,7 @@ private: bool mFired; typedef std::set<LLWearableHoldingPattern*> type_set_hp; static type_set_hp sActiveHoldingPatterns; - bool mIsValid; + bool mIsMostRecent; std::set<LLWearable*> mLateArrivals; bool mIsAllComplete; }; @@ -289,7 +289,7 @@ LLWearableHoldingPattern::type_set_hp LLWearableHoldingPattern::sActiveHoldingPa LLWearableHoldingPattern::LLWearableHoldingPattern(): mResolved(0), mFired(false), - mIsValid(true), + mIsMostRecent(true), mIsAllComplete(false) { if (sActiveHoldingPatterns.size()>0) @@ -303,7 +303,7 @@ LLWearableHoldingPattern::LLWearableHoldingPattern(): it != sActiveHoldingPatterns.end(); ++it) { - (*it)->mIsValid = false; + (*it)->mIsMostRecent = false; } } @@ -315,9 +315,9 @@ LLWearableHoldingPattern::~LLWearableHoldingPattern() sActiveHoldingPatterns.erase(this); } -bool LLWearableHoldingPattern::isValid() +bool LLWearableHoldingPattern::isMostRecent() { - return mIsValid; + return mIsMostRecent; } LLWearableHoldingPattern::found_list_t& LLWearableHoldingPattern::getFoundList() @@ -357,7 +357,7 @@ bool LLWearableHoldingPattern::isTimedOut() void LLWearableHoldingPattern::checkMissingWearables() { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -404,7 +404,7 @@ void LLWearableHoldingPattern::checkMissingWearables() void LLWearableHoldingPattern::onAllComplete() { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -453,7 +453,7 @@ void LLWearableHoldingPattern::onAllComplete() void LLWearableHoldingPattern::onFetchCompletion() { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -464,7 +464,7 @@ void LLWearableHoldingPattern::onFetchCompletion() // Runs as an idle callback until all wearables are fetched (or we time out). bool LLWearableHoldingPattern::pollFetchCompletion() { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -501,7 +501,7 @@ public: } void fire(const LLUUID& item_id) { - if (!mHolder->isValid()) + if (!mHolder->isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -555,7 +555,7 @@ public: } void fire(const LLUUID& item_id) { - if (!mHolder->isValid()) + if (!mHolder->isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -585,7 +585,7 @@ private: void LLWearableHoldingPattern::recoverMissingWearable(LLWearableType::EType type) { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -634,7 +634,7 @@ void LLWearableHoldingPattern::clearCOFLinksForMissingWearables() bool LLWearableHoldingPattern::pollMissingWearables() { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } @@ -670,7 +670,7 @@ void LLWearableHoldingPattern::handleLateArrivals() // Nothing to process. return; } - if (!isValid()) + if (!isMostRecent()) { llwarns << "Late arrivals not handled - outfit change no longer valid" << llendl; } @@ -748,7 +748,7 @@ void LLWearableHoldingPattern::resetTime(F32 timeout) void LLWearableHoldingPattern::onWearableAssetFetch(LLWearable *wearable) { - if (!isValid()) + if (!isMostRecent()) { llwarns << "skipping because LLWearableHolding pattern is invalid (superceded by later outfit request)" << llendl; } |