diff options
author | Merov Linden <merov@lindenlab.com> | 2012-04-13 10:54:31 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-04-13 10:54:31 -0700 |
commit | 18fa5cd60ba673ce168095d277e9e34599b56547 (patch) | |
tree | c8424611a04ab27ff0385a5daed7d444b2d04a65 /indra/newview/llviewertexture.cpp | |
parent | b4a3bb4f3b6247ebcd7d084df601ae77161664e1 (diff) | |
parent | 0a42495906fdc56eeb118ac41ffa9ebcadc8de17 (diff) |
Pull from viewer-thx1138
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r-- | indra/newview/llviewertexture.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 508599e5ae..d5b53f3cb1 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -2139,6 +2139,17 @@ bool LLViewerFetchedTexture::updateFetch() return mIsFetching ? true : false; } +void LLViewerFetchedTexture::forceToDeleteRequest()
+{
+ if (mHasFetcher)
+ {
+ LLAppViewer::getTextureFetch()->deleteRequest(getID(), true);
+ mHasFetcher = FALSE;
+ mIsFetching = FALSE ;
+ resetTextureStats();
+ }
+}
+ void LLViewerFetchedTexture::setIsMissingAsset() { if (mUrl.empty()) |