aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llinventorymodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llinventorymodel.cpp b/linden/indra/newview/llinventorymodel.cpp
index feab282..5a91cac 100644
--- a/linden/indra/newview/llinventorymodel.cpp
+++ b/linden/indra/newview/llinventorymodel.cpp
@@ -538,7 +538,7 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item)
538 { 538 {
539 mask |= LLInventoryObserver::LABEL; 539 mask |= LLInventoryObserver::LABEL;
540 } 540 }
541 old_item->copy(item); 541 old_item->copyViewerItem(item);
542 mask |= LLInventoryObserver::INTERNAL; 542 mask |= LLInventoryObserver::INTERNAL;
543 } 543 }
544 else 544 else
@@ -654,14 +654,14 @@ void LLInventoryModel::updateCategory(const LLViewerInventoryCategory* cat)
654 { 654 {
655 mask |= LLInventoryObserver::LABEL; 655 mask |= LLInventoryObserver::LABEL;
656 } 656 }
657 old_cat->copy(cat); 657 old_cat->copyViewerCategory(cat);
658 addChangedMask(mask, cat->getUUID()); 658 addChangedMask(mask, cat->getUUID());
659 } 659 }
660 else 660 else
661 { 661 {
662 // add this category 662 // add this category
663 LLPointer<LLViewerInventoryCategory> new_cat = new LLViewerInventoryCategory(cat->getParentUUID()); 663 LLPointer<LLViewerInventoryCategory> new_cat = new LLViewerInventoryCategory(cat->getParentUUID());
664 new_cat->copy(cat); 664 new_cat->copyViewerCategory(cat);
665 addCategory(new_cat); 665 addCategory(new_cat);
666 666
667 // make sure this category is correctly referenced by it's parent. 667 // make sure this category is correctly referenced by it's parent.