From 7f1cb755fef2b16a6c05fd20db4af8feea136017 Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Thu, 28 Nov 2019 17:23:16 +0200 Subject: SL-12366 FIXED Crash in LLOutfitGallery::refreshOutfit(LLUUID const&) --- indra/newview/lloutfitgallery.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3