SL-9656 FIXED EEP viewer crash after opening About Land and then right-clicking a Day Cycle in Inventory
parent
53de3916a1
commit
d1f746ff7f
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue