diff options
author | Xiaohong Bao <none@none> | 2009-11-12 13:36:39 -0800 |
---|---|---|
committer | Xiaohong Bao <none@none> | 2009-11-12 13:36:39 -0800 |
commit | a51285994cc723ec001f3f523f41c0b86bb878d7 (patch) | |
tree | 933648d71a265c22eabe06777275ed7a074de0dd /indra/newview/llspatialpartition.cpp | |
parent | 65b1f7f65c03cb3f99c30a570b0f79aee1539f11 (diff) |
fix a bug of making invisible spatial group visible.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 8c5439d47e..6ca6734598 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -435,7 +435,7 @@ void LLSpatialGroup::clearDrawMap() BOOL LLSpatialGroup::isRecentlyVisible() const { - return (LLDrawable::getCurrentFrame() - (S32)mVisible) < LLDrawable::getMinVisFrameRange() ; + return (LLDrawable::getCurrentFrame() - mVisible[LLViewerCamera::sCurCameraID]) < LLDrawable::getMinVisFrameRange() ; } BOOL LLSpatialGroup::isVisible() const |