summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-02-24 13:04:09 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-02-24 13:04:09 +0200
commit1af45ee1dfdda1e6408e5f9b3fdeee9a2647bfd0 (patch)
tree29c6cc831a269d30a3252d839b8d4470216d354b /indra
parent85e480616de4e741f9f34a396677002d86a1d660 (diff)
SL-16921 FIXED Viewer crashes on disconnect if 'About land' floater is opened
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 56370df751..e69b0347f8 100644
--- a/indra/newview/llviewerparcelmgr.cpp
+++ b/indra/newview/llviewerparcelmgr.cpp
@@ -878,7 +878,7 @@ LLParcel* LLViewerParcelMgr::getCollisionParcel() const
void LLViewerParcelMgr::render()
{
- if (mSelected && mRenderSelection && gSavedSettings.getBOOL("RenderParcelSelection"))
+ if (mSelected && mRenderSelection && gSavedSettings.getBOOL("RenderParcelSelection") && !gDisconnected)
{
// Rendering is done in agent-coordinates, so need to supply
// an appropriate offset to the render code.