From 87c91cc283340c6b7fce90ac9f80826ba641a36f Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Mon, 8 Dec 2008 01:29:12 -0600 Subject: Added LLInventoryItem::recalcNInventoryType(). --- linden/indra/llinventory/llinventory.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linden/indra/llinventory/llinventory.cpp') diff --git a/linden/indra/llinventory/llinventory.cpp b/linden/indra/llinventory/llinventory.cpp index 38cb37d..8d8008e 100644 --- a/linden/indra/llinventory/llinventory.cpp +++ b/linden/indra/llinventory/llinventory.cpp @@ -509,6 +509,12 @@ U32 LLInventoryItem::getCRC32() const } +void LLInventoryItem::recalcNInventoryType() +{ + setNInventoryType( calc_ntype(mInventoryType, mType, mFlags) ); +} + + void LLInventoryItem::setDescription(const std::string& d) { std::string new_desc(d); -- cgit v1.1