summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-06-12 11:30:43 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-06-12 11:30:43 -0600
commitdb2abd49c3b41af612cbb6fed4c1626c37b4e14b (patch)
tree8ac8f1ed83d96ba1c8b6bafe38b81cedb6dee2dc /indra/llmath
parent427490edb566edf18da0b879f9d30a04dda0e9e0 (diff)
fix for SH-4244: interesting: objects on adjacent region are not visible.
Diffstat (limited to 'indra/llmath')
-rwxr-xr-xindra/llmath/llcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llcamera.cpp b/indra/llmath/llcamera.cpp
index 6551b52462..054afd3e95 100755
--- a/indra/llmath/llcamera.cpp
+++ b/indra/llmath/llcamera.cpp
@@ -620,7 +620,7 @@ void LLCamera::calcRegionFrustumPlanes(const LLVector3& shift)
if (mPlaneMask[i] != 0xff)
{
n.setVec(mAgentPlanes[i][0], mAgentPlanes[i][1], mAgentPlanes[i][2]);
- d = mAgentPlanes[i][3] - n * shift;
+ d = mAgentPlanes[i][3] + n * shift;
mRegionPlanes[i].setVec(n, d);
}
}