Merge
commit
7c703c26cb
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue