summaryrefslogtreecommitdiff
path: root/indra/llinventory
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-08-01 17:41:34 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-08-01 17:41:34 +0300
commit4dd88ee738da3851d4cf5f8ffc3058948076c53d (patch)
tree385943f64a7d9bf28693c4ee464d2f245d05602f /indra/llinventory
parent344d02af4fd568e5a55e1ed0a1a935fb4718d364 (diff)
MAINT-8803 Better UI handling of unrecognized inventory items
Diffstat (limited to 'indra/llinventory')
-rw-r--r--indra/llinventory/llinventorytype.cpp2
-rw-r--r--indra/llinventory/llinventorytype.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/llinventory/llinventorytype.cpp b/indra/llinventory/llinventorytype.cpp
index d1e6807f52..7399e1bca4 100644
--- a/indra/llinventory/llinventorytype.cpp
+++ b/indra/llinventory/llinventorytype.cpp
@@ -181,7 +181,7 @@ LLInventoryType::EType LLInventoryType::defaultForAssetType(LLAssetType::EType a
}
else
{
- return IT_NONE;
+ return IT_UNKNOWN;
}
}
diff --git a/indra/llinventory/llinventorytype.h b/indra/llinventory/llinventorytype.h
index fc3c78cf50..891ab217fd 100644
--- a/indra/llinventory/llinventorytype.h
+++ b/indra/llinventory/llinventorytype.h
@@ -66,6 +66,7 @@ public:
IT_PERSON = 24,
IT_COUNT = 25,
+ IT_UNKNOWN = 255,
IT_NONE = -1
};
@@ -111,6 +112,7 @@ public:
ICONNAME_MESH,
ICONNAME_INVALID,
+ ICONNAME_UNKNOWN,
ICONNAME_COUNT,
ICONNAME_NONE = -1
};