OpenSim crash fixes, thx to Henri and Zauber

This commit is contained in:
Siana Gearz
2011-03-15 15:19:37 +01:00
parent 0eab7bd2a5
commit 7b98e5f2f1
10 changed files with 58 additions and 10 deletions

View File

@@ -74,6 +74,7 @@
#include "llurlhistory.h"
#include "llfirstuse.h"
#include "llrender.h"
#include "llfont.h"
#include "llweb.h"
#include "llsecondlifeurls.h"
@@ -680,6 +681,8 @@ bool LLAppViewer::init()
settings_setup_listeners();
// Modify settings based on system configuration and compile options
settings_modify();
// Work around for a crash bug when changing OpenGL settings
LLFont::sOpenGLcrashOnRestart = (getenv("LL_OPENGL_RESTART_CRASH_BUG") != NULL);
// Find partition serial number (Windows) or hardware serial (Mac)
mSerialNumber = generateSerialNumber();