From 7447454e7e733699f57f545bac13f46a72b916b7 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Tue, 4 Aug 2009 23:41:19 +0000 Subject: Fix for a crash bug on login after clearing the cache. --- indra/newview/llgesturemgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp index 69498d3099..59274c8638 100644 --- a/indra/newview/llgesturemgr.cpp +++ b/indra/newview/llgesturemgr.cpp @@ -1151,7 +1151,7 @@ void LLGestureManager::done() { for(item_map_t::iterator it = mActive.begin(); it != mActive.end(); ++it) { - if(it->second->mName.empty()) + if(it->second && it->second->mName.empty()) { LLViewerInventoryItem* item = gInventory.getItem(it->first); if(item) -- cgit v1.2.3