SL-1307 EEP At startup viewer does not recognize what parcel you are on.

master
andreykproductengine 2018-09-13 18:36:47 +03:00
parent ceb336c5f3
commit bb52cdf4f0
1 changed files with 4 additions and 0 deletions

View File

@ -659,6 +659,10 @@ LLParcel * LLViewerParcelMgr::getAgentOrSelectedParcel() const
if (selection)
{
parcel = selection->getParcel();
if (parcel->getLocalID() == INVALID_PARCEL_ID)
{
parcel = NULL;
}
}
}