diff options
author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-13 16:20:56 -0700 |
---|---|---|
committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-13 16:20:56 -0700 |
commit | 7c703c26cbb37c5d1e69438d2d8d7ec3901f18de (patch) | |
tree | 5728bc4c9c7b410b4c999a3967a85458181a90c2 | |
parent | 9a811855b9470accba062e10fd2f591588492ab2 (diff) | |
parent | d14570596b566f9c178993aa7fa4202fb277becc (diff) |
Merge
-rw-r--r-- | indra/newview/llvovolume.cpp | 3 |
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()) |