diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2012-05-29 18:02:11 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2012-05-29 18:02:11 -0600 |
commit | 957bfcd5d90b4ae0dfccd7a934364461059f8402 (patch) | |
tree | 52a99be02d47cc168663a275070ae2e791aaec0e /indra/newview/llface.cpp | |
parent | 3a63d88e7b48397cbfd508c05632453653e678e3 (diff) |
fo SH-3074: clear ghost and stale texture fetching requests in time.
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index cfb4147e71..cb445d6117 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1951,6 +1951,12 @@ BOOL LLFace::hasMedia() const const F32 LEAST_IMPORTANCE = 0.05f ; const F32 LEAST_IMPORTANCE_FOR_LARGE_IMAGE = 0.3f ; +void LLFace::resetVirtualSize() +{ + setVirtualSize(0.f); + mImportanceToCamera = 0.f; +} + F32 LLFace::getTextureVirtualSize() { F32 radius; |