Updated llinventory to something closer to V2's implementation. Mostly just restructuring.
Most the changes are due to InventoryObjectList* changing to LLInventoryObject::object_list_t*, LLInventoryItem::II_FLAGS* changing to LLInventoryItemFlags::II_FLAGS* and also const'ing. Certain perms for certain asset types(callcard&landmarks) have been laxed, as per LL's V2. LLInventoryType now does lookups mostly though new lldictionary class. LLLandmark using boost for callbacks, instead of custom class structure.
This commit is contained in:
@@ -5930,7 +5930,7 @@ void process_derez_container(LLMessageSystem *msg, void**)
|
||||
}
|
||||
|
||||
void container_inventory_arrived(LLViewerObject* object,
|
||||
InventoryObjectList* inventory,
|
||||
LLInventoryObject::object_list_t* inventory,
|
||||
S32 serial_num,
|
||||
void* data)
|
||||
{
|
||||
@@ -5950,8 +5950,8 @@ void container_inventory_arrived(LLViewerObject* object,
|
||||
LLAssetType::AT_NONE,
|
||||
std::string("Acquired Items")); //TODO: Translate
|
||||
|
||||
InventoryObjectList::const_iterator it = inventory->begin();
|
||||
InventoryObjectList::const_iterator end = inventory->end();
|
||||
LLInventoryObject::object_list_t::const_iterator it = inventory->begin();
|
||||
LLInventoryObject::object_list_t::const_iterator end = inventory->end();
|
||||
for ( ; it != end; ++it)
|
||||
{
|
||||
if ((*it)->getType() != LLAssetType::AT_CATEGORY &&
|
||||
|
||||
Reference in New Issue
Block a user