diff options
| author | Anchor Linden <anchor@lindenlab.com> | 2018-10-11 10:54:16 -0700 |
|---|---|---|
| committer | Anchor Linden <anchor@lindenlab.com> | 2018-10-11 10:54:16 -0700 |
| commit | 076719013ec2dab7bf8fd1f4d1f953ab73d594e9 (patch) | |
| tree | 58e7cd0674a1286544f883257cc2f43969ea201f /indra/newview/llinventoryicon.cpp | |
| parent | e5aeaa659a453674ef898cdd2ad6183d5eb77e41 (diff) | |
| parent | 58aef8beaf79dc83546a7b080014ca5030733ac8 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llinventoryicon.cpp')
| -rw-r--r-- | indra/newview/llinventoryicon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llinventoryicon.cpp b/indra/newview/llinventoryicon.cpp index 1141dabeb8..ee6e3dd384 100644 --- a/indra/newview/llinventoryicon.cpp +++ b/indra/newview/llinventoryicon.cpp @@ -94,6 +94,7 @@ LLIconDictionary::LLIconDictionary() addEntry(LLInventoryType::ICONNAME_MESH, new IconEntry("Inv_Mesh")); addEntry(LLInventoryType::ICONNAME_INVALID, new IconEntry("Inv_Invalid")); + addEntry(LLInventoryType::ICONNAME_UNKNOWN, new IconEntry("Inv_Unknown")); addEntry(LLInventoryType::ICONNAME_NONE, new IconEntry("NONE")); } @@ -167,6 +168,8 @@ const std::string& LLInventoryIcon::getIconName(LLAssetType::EType asset_type, break; case LLAssetType::AT_MESH: idx = LLInventoryType::ICONNAME_MESH; + case LLAssetType::AT_UNKNOWN: + idx = LLInventoryType::ICONNAME_UNKNOWN; default: break; } |
