diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-08-16 16:39:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 16:39:50 +0300 |
commit | 00e7311960e6ae9f951355db243c6787bc7132d9 (patch) | |
tree | 09923e02ebefcb3723e9748e6b1c7232751fada9 /indra | |
parent | c527356f8a94df0dd280d683b26cf9e2938424b6 (diff) |
SL-20151 allow right-clicking reflection probes if 'Select Reflection Probes' is enabled
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 84cc3f03c2..935d61f7ea 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -183,11 +183,15 @@ BOOL LLToolPie::handleMouseDown(S32 x, S32 y, MASK mask) // an item. BOOL LLToolPie::handleRightMouseDown(S32 x, S32 y, MASK mask) { + BOOL pick_reflection_probe = gSavedSettings.getBOOL("SelectReflectionProbes"); + // don't pick transparent so users can't "pay" transparent objects mPick = gViewerWindow->pickImmediate(x, y, /*BOOL pick_transparent*/ FALSE, /*BOOL pick_rigged*/ TRUE, - /*BOOL pick_particle*/ TRUE); + /*BOOL pick_particle*/ TRUE, + /*BOOL pick_unselectable*/ TRUE, + pick_reflection_probe); mPick.mKeyMask = mask; // claim not handled so UI focus stays same |