summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-13 16:20:56 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-13 16:20:56 -0700
commit7c703c26cbb37c5d1e69438d2d8d7ec3901f18de (patch)
tree5728bc4c9c7b410b4c999a3967a85458181a90c2 /indra/newview
parent9a811855b9470accba062e10fd2f591588492ab2 (diff)
parentd14570596b566f9c178993aa7fa4202fb277becc (diff)
Merge
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvovolume.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index e39d2862fb..3ce32b40bb 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -2993,8 +2993,7 @@ void LLVOVolume::generateSilhouette(LLSelectNode* nodep, const LLVector3& view_p
//transform view vector into volume space
view_vector -= getRenderPosition();
- // WTF...why is silhouette generation touching a variable used all over the place?!
- //mDrawable->mDistanceWRTCamera = view_vector.length();
+ mDrawable->mDistanceWRTCamera = view_vector.length();
LLQuaternion worldRot = getRenderRotation();
view_vector = view_vector * ~worldRot;
if (!isVolumeGlobal())