CID-486
Checker: NULL_RETURNS Function: LLAgentWearables::revertWearable(LLWearableType::EType, unsigned int) File: /indra/newview/llagentwearables.cppmeow-7.2.2
parent
86da02f7d2
commit
99e7e72507
|
|
@ -511,7 +511,11 @@ void LLAgentWearables::saveWearableAs(const LLWearableType::EType type,
|
|||
void LLAgentWearables::revertWearable(const LLWearableType::EType type, const U32 index)
|
||||
{
|
||||
LLWearable* wearable = getWearable(type, index);
|
||||
wearable->revertValues();
|
||||
llassert(wearable);
|
||||
if (wearable)
|
||||
{
|
||||
wearable->revertValues();
|
||||
}
|
||||
|
||||
gAgent.sendAgentSetAppearance();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue