diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-07-28 19:15:28 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-07-28 19:15:28 -0500 |
commit | ec1d1f43540bac02e6cd2e814ee14da0cd33a67c (patch) | |
tree | 685a6d06ebd40c6ddbd1d99c87131c8e889cfdd6 /indra/newview/llspatialpartition.cpp | |
parent | 7a4b8edf9c02818651efad7b277bbb08d18e22f5 (diff) |
SL-20094 Add "Select Reflection Probes" checkbox
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 32c891dbb6..79711794db 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -3624,7 +3624,9 @@ public: } } - if (!skip_check && vobj->lineSegmentIntersect(mStart, mEnd, -1, mPickTransparent, mPickRigged, mPickUnselectable, mFaceHit, &intersection, mTexCoord, mNormal, mTangent)) + if (!skip_check && vobj->lineSegmentIntersect(mStart, mEnd, -1, + (mPickReflectionProbe && vobj->isReflectionProbe()) ? TRUE : mPickTransparent, // always pick transparent when picking selection probe + mPickRigged, mPickUnselectable, mFaceHit, &intersection, mTexCoord, mNormal, mTangent)) { mEnd = intersection; // shorten ray so we only find CLOSER hits if (mIntersection) |