From ac1eed6ff3e2ef03858256da76fd8408dcc79e9a Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Sat, 20 Feb 2010 17:07:34 +0100 Subject: fix: crash on relog; appearence self pie greyed out after relog. --- linden/indra/newview/lltexturefetch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview/lltexturefetch.cpp') diff --git a/linden/indra/newview/lltexturefetch.cpp b/linden/indra/newview/lltexturefetch.cpp index 62b4c8b..4175012 100644 --- a/linden/indra/newview/lltexturefetch.cpp +++ b/linden/indra/newview/lltexturefetch.cpp @@ -38,6 +38,7 @@ #include "lltexturefetch.h" +#include "llappviewer.h" #include "llcurl.h" #include "lldir.h" #include "llhttpclient.h" @@ -580,7 +581,7 @@ bool LLTextureFetchWorker::doWork(S32 param) } } - if (mFetcher->mDebugPause) + if (mFetcher->mDebugPause|| gDisconnected) { return false; // debug: don't do any work } -- cgit v1.1