diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltexturefetch.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 216a022774..e7538d685d 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -3427,18 +3427,20 @@ void LLTextureFetchDebugger::tryToStopDebug() } if(update(0.005f)) - { - //unlock the fetcher - mFetcher->lockFetcher(false); + { + //unlock the fetcher + mFetcher->lockFetcher(false); mFetcher->resetLoadSource(); - mFreezeHistory = FALSE; + mFreezeHistory = FALSE; mStopDebug = FALSE; if(mClearHistory) { mFetchingHistory.clear(); init(); - mTotalFetchingTime = gTextureTimer.getElapsedTimeF32(); //reset + mTotalFetchingTime = gTextureTimer.getElapsedTimeF32(); //reset + } + } } //called in the main thread and when the fetching queue is empty |