From bdf6956799c9d9dfe48a39d464b6301454d4adcc Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Fri, 6 Sep 2019 18:40:18 +0300 Subject: SL-11894 FIXED Crash: SecondLifeViewer!LLPanelPlaces::onShowOnMapButtonClicked --- indra/newview/llpanelplaces.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp index 48dd45480e..25961e0054 100644 --- a/indra/newview/llpanelplaces.cpp +++ b/indra/newview/llpanelplaces.cpp @@ -675,6 +675,12 @@ void LLPanelPlaces::onShowOnMapButtonClicked() } else if (mPlaceInfoType == LANDMARK_INFO_TYPE) { + if (mItem.isNull()) + { + LL_WARNS() << "NULL landmark item" << LL_ENDL; + llassert(mItem.notNull()); + return; + } LLLandmark* landmark = gLandmarkList.getAsset(mItem->getAssetUUID()); if (!landmark) return; -- cgit v1.2.3