- fixed : crash in LLAppearanceMgr::updateAppearanceFromCOF() due to "Appearance-SyncAttach" patch

-> fixed in "Appearance-Misc", local fix will dissapear on the next pmerge
- fixed : LLWearableBridge::removeAllClothesFromAvatar() doesn't remove all clothing from the avatar
    -> fixed in "Appearance-Misc", local fix will dissapear on the next pmerge

--HG--
branch : RLVa
meow-7.2.2
Kitty Barnett 2010-09-04 03:54:37 +02:00
parent e98e3d4efa
commit 48801314f5
2 changed files with 2 additions and 2 deletions

View File

@ -1903,7 +1903,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool update_base_outfit_ordering)
const LLUUID& idItem = *itPendingObjLink;
if (!gAgentAvatarp->isWearingAttachment(idItem))
{
mPendingObjLinks.erase(itPendingObjLink++);
itPendingObjLink = mPendingObjLinks.erase(itPendingObjLink);
continue;
}

View File

@ -4804,7 +4804,7 @@ void LLWearableBridge::removeAllClothesFromAvatar()
if (itype == LLWearableType::WT_SHAPE || itype == LLWearableType::WT_SKIN || itype == LLWearableType::WT_HAIR || itype == LLWearableType::WT_EYES)
continue;
for (S32 index = gAgentWearables.getWearableCount(itype)-1; index >= 0 ; --index)
for (S32 index = gAgentWearables.getWearableCount((LLWearableType::EType)itype)-1; index >= 0 ; --index)
{
LLViewerInventoryItem *item = dynamic_cast<LLViewerInventoryItem*>(
gAgentWearables.getWearableInventoryItem((LLWearableType::EType)itype, index));