diff options
| author | Richard Linden <none@none> | 2013-08-23 13:42:29 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2013-08-23 13:42:29 -0700 |
| commit | d058447aaacbaa705b47036a3fc5efac233d1eaf (patch) | |
| tree | ebe4e35a5f032ef9345312b9b7074f2a0c80ee19 /indra/newview/lldrawable.cpp | |
| parent | a77f42494584537489410a5157179aaadf868935 (diff) | |
| parent | 47f1da8383bb7187ae1402ce7b8fec8cd9f56a7d (diff) | |
merge
Diffstat (limited to 'indra/newview/lldrawable.cpp')
| -rwxr-xr-x | indra/newview/lldrawable.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index ad3df55ef1..a480eed2e7 100755 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -1058,12 +1058,8 @@ bool LLDrawable::isRecentlyVisible() const if(!vis) { - LLviewerOctreeGroup* group = getGroup(); - if (group && group->isRecentlyVisible()) - { - LLViewerOctreeEntryData::setVisible(); - vis = TRUE ; - } + const U32 MIN_VIS_FRAME_RANGE = 2 ; //two frames:the current one and the last one. + vis = (sCurVisible - getVisible() < MIN_VIS_FRAME_RANGE); } return vis ; @@ -1140,14 +1136,6 @@ LLSpatialPartition* LLDrawable::getSpatialPartition() return retval; } -//virtual -U32 LLDrawable::getMinFrameRange() const -{ - const U32 MIN_VIS_FRAME_RANGE = 2 ; //two frames:the current one and the last one. - - return MIN_VIS_FRAME_RANGE ; -} - //======================================= // Spatial Partition Bridging Drawable //======================================= |
