diff options
author | Leslie Linden <none@none> | 2011-06-08 15:46:34 -0700 |
---|---|---|
committer | Leslie Linden <none@none> | 2011-06-08 15:46:34 -0700 |
commit | 86470d3889436017264a69d57fb2060a591955f4 (patch) | |
tree | 8c262d019b1dd3c8eba83bfbe3025003bba58a9b /indra/newview | |
parent | 1361eeae4e4538c175a32d48246897c4659cc26c (diff) |
Fixed to allow param blocks to exceed 64k, even though the size makes me wince.
Modified viewer window to not create a navigation bar on exit if one doesn't yet exist.
Reviewed by Richard.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 4ecb645337..e97f0fcc2e 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1979,7 +1979,10 @@ void LLViewerWindow::shutdownViews() // destroy the nav bar, not currently part of gViewerWindow // *TODO: Make LLNavigationBar part of gViewerWindow - delete LLNavigationBar::getInstance(); + if (LLNavigationBar::instanceExists()) + { + delete LLNavigationBar::getInstance(); + } // destroy menus after instantiating navbar above, as it needs // access to gMenuHolder |