diff options
Diffstat (limited to '')
-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... |