Added wearable index handling to LLAgentWearables to scope out further changes. Index is still always zero for now, so behavior should not have changed. (marked with // TODO: MULTI-WEARABLE)
This commit is contained in:
@@ -141,7 +141,7 @@ void RlvInventory::fetchWornItems()
|
||||
// Fetch all currently worn clothing layers and body parts
|
||||
for (int type = 0; type < LLWearableType::WT_COUNT; type++)
|
||||
{
|
||||
const LLUUID idItem = gAgentWearables.getWearableItemID((LLWearableType::EType)type);
|
||||
const LLUUID idItem = gAgentWearables.getWearableItemID((LLWearableType::EType)type, 0); // TODO: MULTI-WEARABLE
|
||||
if (idItem.notNull())
|
||||
idItems.push_back(idItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user