summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-11-25 17:33:13 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-11-25 17:33:13 +0200
commitf7258b49b20cb306804db8276b1caf7d9bb75e23 (patch)
tree98d74a00726f80843e40d8e4ca0a10784913da41 /indra/newview/pipeline.cpp
parent8852cb9cbd25df8d25fa43cf39b222ab8381ebd6 (diff)
SL-16408 Fix for crashing on disconnect
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index d9d97ac1e5..5b6de5874b 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4010,8 +4010,11 @@ void render_hud_elements()
// Draw the tracking overlays
LLTracker::render3D();
- // Show the property lines
- LLWorld::getInstance()->renderPropertyLines();
+ if (LLWorld::instanceExists())
+ {
+ // Show the property lines
+ LLWorld::getInstance()->renderPropertyLines();
+ }
LLViewerParcelMgr::getInstance()->render();
LLViewerParcelMgr::getInstance()->renderParcelCollision();