aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llstatusbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llstatusbar.cpp b/linden/indra/newview/llstatusbar.cpp
index 558cf42..4b90007 100644
--- a/linden/indra/newview/llstatusbar.cpp
+++ b/linden/indra/newview/llstatusbar.cpp
@@ -254,6 +254,9 @@ void LLStatusBar::draw()
254// Per-frame updates of visibility 254// Per-frame updates of visibility
255void LLStatusBar::refresh() 255void LLStatusBar::refresh()
256{ 256{
257 if(gDisconnected)
258 return; //or crash if the sim crashes; because: already ~LLMenuBarGL()
259
257 // Adding Net Stat Meter back in 260 // Adding Net Stat Meter back in
258 F32 bwtotal = gViewerThrottle.getMaxBandwidth() / 1000.f; 261 F32 bwtotal = gViewerThrottle.getMaxBandwidth() / 1000.f;
259 mSGBandwidth->setMin(0.f); 262 mSGBandwidth->setMin(0.f);