Add another patch for times where the user has no inventory items being worn and the viewer refusing to wearing new ones.
Conflicts: indra/newview/llagentwearables.cpp indra/newview/llagentwearables.h
This commit is contained in:
@@ -486,6 +486,13 @@ BOOL LLAgentWearables::isWearableCopyable(LLWearableType::EType type) const
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL LLAgentWearables::areWearablesLoaded() const
|
||||
{
|
||||
if(gSavedSettings.getBOOL("RenderUnloadedAvatar"))
|
||||
return TRUE;
|
||||
return mWearablesLoaded;
|
||||
}
|
||||
|
||||
U32 LLAgentWearables::getWearablePermMask(LLWearableType::EType type) const
|
||||
{
|
||||
LLUUID item_id = getWearableItemID(type);
|
||||
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
BOOL isWearableModifiable(const LLUUID& item_id) const;
|
||||
|
||||
BOOL isWearableCopyable(LLWearableType::EType type) const;
|
||||
BOOL areWearablesLoaded() const { return mWearablesLoaded; };
|
||||
BOOL areWearablesLoaded() const;
|
||||
//void updateWearablesLoaded();
|
||||
//void checkWearablesLoaded() const;
|
||||
//bool canMoveWearable(const LLUUID& item_id, bool closer_to_body);
|
||||
|
||||
Reference in New Issue
Block a user