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:
@@ -417,7 +417,7 @@ void LLEmbeddedItems::bindEmbeddedChars( const LLFontGL* font ) const
|
||||
break;
|
||||
case LLAssetType::AT_SOUND: img_name = "inv_item_sound.tga"; break;
|
||||
case LLAssetType::AT_LANDMARK:
|
||||
if (item->getFlags() & LLInventoryItem::II_FLAGS_LANDMARK_VISITED)
|
||||
if (item->getFlags() & LLInventoryItemFlags::II_FLAGS_LANDMARK_VISITED)
|
||||
{
|
||||
img_name = "inv_item_landmark_visited.tga";
|
||||
}
|
||||
@@ -428,7 +428,7 @@ void LLEmbeddedItems::bindEmbeddedChars( const LLFontGL* font ) const
|
||||
break;
|
||||
case LLAssetType::AT_CLOTHING: img_name = "inv_item_clothing.tga"; break;
|
||||
case LLAssetType::AT_OBJECT:
|
||||
if (item->getFlags() & LLInventoryItem::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS)
|
||||
if (item->getFlags() & LLInventoryItemFlags::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS)
|
||||
{
|
||||
img_name = "inv_item_object_multi.tga";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user