diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-09-14 15:47:52 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-09-14 15:47:52 +0300 |
commit | d1f746ff7ff251f1fdf6c8a8eeb1b350cad8750e (patch) | |
tree | 90bdb399803343d0fb44db46d25bea75ceb0e01b /indra | |
parent | 53de3916a16e316543cd12491556999a4c84f545 (diff) |
SL-9656 FIXED EEP viewer crash after opening About Land and then right-clicking a Day Cycle in Inventory
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerparcelmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index 3ad78efd41..5a393220c3 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -659,7 +659,7 @@ LLParcel * LLViewerParcelMgr::getAgentOrSelectedParcel() const if (selection) { parcel = selection->getParcel(); - if (parcel->getLocalID() == INVALID_PARCEL_ID) + if (parcel && (parcel->getLocalID() == INVALID_PARCEL_ID)) { parcel = NULL; } |