summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryobserver.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-18 11:36:05 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-02-18 11:36:05 +0200
commit145aa1d0740e74aa98f7809dd1f2668b0546a131 (patch)
tree69fb8419a6843173718d8794881049a625e8cb64 /indra/newview/llinventoryobserver.cpp
parent50f9e4b308b83a9751d2837e09445c944bdc2a85 (diff)
MAINT-6119 Viewer needs a few NULL uuid checks
Diffstat (limited to 'indra/newview/llinventoryobserver.cpp')
-rwxr-xr-xindra/newview/llinventoryobserver.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp
index d81401b59b..9480dfdc4d 100755
--- a/indra/newview/llinventoryobserver.cpp
+++ b/indra/newview/llinventoryobserver.cpp
@@ -306,6 +306,12 @@ void LLInventoryFetchItemsObserver::startFetch()
continue;
}
+ if ((*it).isNull())
+ {
+ LL_WARNS("Inventory") << "Skip fetching for a NULL uuid" << LL_ENDL;
+ continue;
+ }
+
// It's incomplete, so put it on the incomplete container, and
// pack this on the message.
mIncomplete.push_back(*it);