SL-9656 FIXED EEP viewer crash after opening About Land and then right-clicking a Day Cycle in Inventory

master
maxim_productengine 2018-09-14 15:47:52 +03:00
parent 53de3916a1
commit d1f746ff7f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}