aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llinventory')
-rw-r--r--linden/indra/llinventory/llinventory.cpp6
-rw-r--r--linden/indra/llinventory/llinventory.h3
2 files changed, 9 insertions, 0 deletions
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
509} 509}
510 510
511 511
512void LLInventoryItem::recalcNInventoryType()
513{
514 setNInventoryType( calc_ntype(mInventoryType, mType, mFlags) );
515}
516
517
512void LLInventoryItem::setDescription(const std::string& d) 518void LLInventoryItem::setDescription(const std::string& d)
513{ 519{
514 std::string new_desc(d); 520 std::string new_desc(d);
diff --git a/linden/indra/llinventory/llinventory.h b/linden/indra/llinventory/llinventory.h
index 247e646..34d9445 100644
--- a/linden/indra/llinventory/llinventory.h
+++ b/linden/indra/llinventory/llinventory.h
@@ -285,6 +285,9 @@ public:
285 LLSD asLLSD() const; 285 LLSD asLLSD() const;
286 bool fromLLSD(LLSD& sd); 286 bool fromLLSD(LLSD& sd);
287 287
288private:
289 void recalcNInventoryType();
290
288}; 291};
289 292
290BOOL item_dictionary_sort(LLInventoryItem* a,LLInventoryItem* b); 293BOOL item_dictionary_sort(LLInventoryItem* a,LLInventoryItem* b);