diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-09-06 18:40:18 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-09-06 18:40:18 +0300 |
commit | bdf6956799c9d9dfe48a39d464b6301454d4adcc (patch) | |
tree | 76a74871f0742da0b2d75f2d674cbda9f1e139d3 | |
parent | 469cdfd23e64889a2dfea6defd57ec78392f8723 (diff) |
SL-11894 FIXED Crash: SecondLifeViewer!LLPanelPlaces::onShowOnMapButtonClicked
-rw-r--r-- | indra/newview/llpanelplaces.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; |