- 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
parent
e98e3d4efa
commit
48801314f5
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue