meow-7.2.2
Graham Madarasz (Graham Linden) 2013-03-13 16:20:56 -07:00
commit 7c703c26cb
1 changed files with 1 additions and 2 deletions

View File

@ -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())