diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llsurfacepatch.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llsurfacepatch.cpp')
-rw-r--r-- | linden/indra/newview/llsurfacepatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llsurfacepatch.cpp b/linden/indra/newview/llsurfacepatch.cpp index 432ca01..5b03c98 100644 --- a/linden/indra/newview/llsurfacepatch.cpp +++ b/linden/indra/newview/llsurfacepatch.cpp | |||
@@ -845,7 +845,7 @@ void LLSurfacePatch::updateVisibility() | |||
845 | LLVector3 radius = LLVector3(mRadius, mRadius, mRadius); | 845 | LLVector3 radius = LLVector3(mRadius, mRadius, mRadius); |
846 | 846 | ||
847 | // sphere in frustum on global coordinates | 847 | // sphere in frustum on global coordinates |
848 | if (gCamera->AABBInFrustumNoFarClip(center, radius)) | 848 | if (LLViewerCamera::getInstance()->AABBInFrustumNoFarClip(center, radius)) |
849 | { | 849 | { |
850 | // We now need to calculate the render stride based on patchp's distance | 850 | // We now need to calculate the render stride based on patchp's distance |
851 | // from LLCamera render_stride is governed by a relation something like this... | 851 | // from LLCamera render_stride is governed by a relation something like this... |