diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-11-04 15:55:04 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-11-04 15:55:04 -0500 |
commit | 6ea320198afcd3080fd7fcdfcb5829b5e8ef2c31 (patch) | |
tree | 52f0334948e2cc149d4a14e3b5286d864613ab9c /indra/newview/llinventoryobserver.cpp | |
parent | 72097affb53b8c8aa28e029eba0033630bca41b0 (diff) |
SH-4595 WIP - use new LLInventoryObserver::CREATE flag to distinguish newly created items from existing ones being added to inventory.
Diffstat (limited to 'indra/newview/llinventoryobserver.cpp')
-rwxr-xr-x | indra/newview/llinventoryobserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp index b025c0786e..011686bfdd 100755 --- a/indra/newview/llinventoryobserver.cpp +++ b/indra/newview/llinventoryobserver.cpp @@ -467,7 +467,7 @@ void LLInventoryFetchComboObserver::startFetch() void LLInventoryAddItemByAssetObserver::changed(U32 mask) { - if(!(mask & LLInventoryObserver::ADD)) + if(!(mask & LLInventoryObserver::ADD) || !(mask & LLInventoryObserver::CREATE)) { return; } @@ -528,7 +528,7 @@ bool LLInventoryAddItemByAssetObserver::isAssetWatched( const LLUUID& asset_id ) void LLInventoryAddedObserver::changed(U32 mask) { - if (!(mask & LLInventoryObserver::ADD)) + if (!(mask & LLInventoryObserver::ADD) || !(mask & LLInventoryObserver::CREATE)) { return; } |