diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-09-13 18:36:47 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-09-13 18:36:47 +0300 |
commit | bb52cdf4f0104cb61c537041fc9574167fdf98eb (patch) | |
tree | 7c8102f562c820276bf49b05307d5a54d60e2d97 | |
parent | ceb336c5f340c260ac5c1923723dbc8204b98157 (diff) |
SL-1307 EEP At startup viewer does not recognize what parcel you are on.
-rw-r--r-- | indra/newview/llviewerparcelmgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index d263e15a10..3ad78efd41 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -659,6 +659,10 @@ LLParcel * LLViewerParcelMgr::getAgentOrSelectedParcel() const if (selection) { parcel = selection->getParcel(); + if (parcel->getLocalID() == INVALID_PARCEL_ID) + { + parcel = NULL; + } } } |