summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-09-14 15:47:52 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-09-14 15:47:52 +0300
commitd1f746ff7ff251f1fdf6c8a8eeb1b350cad8750e (patch)
tree90bdb399803343d0fb44db46d25bea75ceb0e01b /indra
parent53de3916a16e316543cd12491556999a4c84f545 (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.cpp2
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;
}