MAINT-8417 Fixed startup crash in doFrame() after failing to access vfs cache

Wed, 21 Mar 2018 19:31:54 +0200

author
andreykproductengine <andreykproductengine@lindenlab.com>
date
Wed, 21 Mar 2018 19:31:54 +0200
changeset 55351
f3172b01f93e
parent 55350
544cdc3ab508
child 55352
96b994daf116

MAINT-8417 Fixed startup crash in doFrame() after failing to access vfs cache

indra/newview/llappviewer.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llappviewer.cpp	Wed Mar 21 18:04:53 2018 +0200
     1.2 +++ b/indra/newview/llappviewer.cpp	Wed Mar 21 19:31:54 2018 +0200
     1.3 @@ -1399,7 +1399,8 @@
     1.4  			// Scan keyboard for movement keys.  Command keys and typing
     1.5  			// are handled by windows callbacks.  Don't do this until we're
     1.6  			// done initializing.  JC
     1.7 -			if ((gHeadlessClient || gViewerWindow->getWindow()->getVisible())
     1.8 +			if (gViewerWindow
     1.9 +				&& (gHeadlessClient || gViewerWindow->getWindow()->getVisible())
    1.10  				&& gViewerWindow->getActive()
    1.11  				&& !gViewerWindow->getWindow()->getMinimized()
    1.12  				&& LLStartUp::getStartupState() == STATE_STARTED

mercurial