summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-11-28 17:23:16 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-11-28 17:23:16 +0200
commit7f1cb755fef2b16a6c05fd20db4af8feea136017 (patch)
treebb031ee10b1786d75dba00d1316b6945e47e43ee /indra
parent191c1791f4f83fee1be6e71aa9e3f246206b2e80 (diff)
SL-12366 FIXED Crash in LLOutfitGallery::refreshOutfit(LLUUID const&)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lloutfitgallery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 12b46e9bb2..1a28c49141 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -1046,6 +1046,7 @@ void LLOutfitGallery::updateSnapshotFolderObserver()
void LLOutfitGallery::refreshOutfit(const LLUUID& category_id)
{
LLViewerInventoryCategory* category = gInventory.getCategory(category_id);
+ if (category)
{
bool photo_loaded = false;
LLInventoryModel::cat_array_t sub_cat_array;