SL-17649 Icon for Material type in Inventory
parent
da1d9139b3
commit
1559ad4792
|
|
@ -96,7 +96,7 @@ LLAssetDictionary::LLAssetDictionary()
|
|||
addEntry(LLAssetType::AT_WIDGET, new AssetEntry("WIDGET", "widget", "widget", false, false, false));
|
||||
addEntry(LLAssetType::AT_PERSON, new AssetEntry("PERSON", "person", "person", false, false, false));
|
||||
addEntry(LLAssetType::AT_SETTINGS, new AssetEntry("SETTINGS", "settings", "settings blob", true, true, true));
|
||||
addEntry(LLAssetType::AT_MATERIAL, new AssetEntry("MATERIAL", "material", "render material", true, true, true));
|
||||
addEntry(LLAssetType::AT_MATERIAL, new AssetEntry("MATERIAL", "material", "render material", true, true, true));
|
||||
addEntry(LLAssetType::AT_UNKNOWN, new AssetEntry("UNKNOWN", "invalid", NULL, false, false, false));
|
||||
addEntry(LLAssetType::AT_NONE, new AssetEntry("NONE", "-1", NULL, FALSE, FALSE, FALSE));
|
||||
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ LLInventoryDictionary::LLInventoryDictionary()
|
|||
addEntry(LLInventoryType::IT_WIDGET, new InventoryEntry("widget", "widget", 1, LLAssetType::AT_WIDGET));
|
||||
addEntry(LLInventoryType::IT_PERSON, new InventoryEntry("person", "person", 1, LLAssetType::AT_PERSON));
|
||||
addEntry(LLInventoryType::IT_SETTINGS, new InventoryEntry("settings", "settings", 1, LLAssetType::AT_SETTINGS));
|
||||
addEntry(LLInventoryType::IT_MATERIAL, new InventoryEntry("material", "render material", 1, LLAssetType::AT_MATERIAL));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@ LLIconDictionary::LLIconDictionary()
|
|||
addEntry(LLInventoryType::ICONNAME_SETTINGS_DAY, new IconEntry("Inv_SettingsDay"));
|
||||
addEntry(LLInventoryType::ICONNAME_SETTINGS, new IconEntry("Inv_Settings"));
|
||||
|
||||
addEntry(LLInventoryType::ICONNAME_MATERIAL, new IconEntry("Inv_Material"));
|
||||
|
||||
addEntry(LLInventoryType::ICONNAME_INVALID, new IconEntry("Inv_Invalid"));
|
||||
addEntry(LLInventoryType::ICONNAME_UNKNOWN, new IconEntry("Inv_Unknown"));
|
||||
|
||||
|
|
@ -177,6 +179,9 @@ const std::string& LLInventoryIcon::getIconName(LLAssetType::EType asset_type,
|
|||
case LLAssetType::AT_SETTINGS:
|
||||
idx = assignSettingsIcon(misc_flag);
|
||||
break;
|
||||
case LLAssetType::AT_MATERIAL:
|
||||
idx = LLInventoryType::ICONNAME_MATERIAL;
|
||||
break;
|
||||
case LLAssetType::AT_UNKNOWN:
|
||||
idx = LLInventoryType::ICONNAME_UNKNOWN;
|
||||
default:
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 684 B |
|
|
@ -303,6 +303,7 @@ with the same filename but different name
|
|||
<texture name="Inv_LostClosed" file_name="icons/Inv_LostClosed.png" preload="false" />
|
||||
<texture name="Inv_LostOpen" file_name="icons/Inv_LostOpen.png" preload="false" />
|
||||
<texture name="Inv_Landmark" file_name="icons/Inv_Landmark.png" preload="false" />
|
||||
<texture name="Inv_Material" file_name="icons/Inv_Material.png" preload="false" />
|
||||
<texture name="Inv_Mesh" file_name="icons/Inv_Mesh.png" preload="false" />
|
||||
<texture name="Inv_Notecard" file_name="icons/Inv_Notecard.png" preload="false" />
|
||||
<texture name="Inv_Object" file_name="icons/Inv_Object.png" preload="false" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue