summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolpie.cpp
diff options
context:
space:
mode:
authorWolfGangS <flamin2k8@gmail.com>2025-06-27 21:49:56 +0100
committerWolfGangS <flamin2k8@gmail.com>2025-06-27 21:49:56 +0100
commit5888ae934be6f520b770898ca7f973462217d667 (patch)
tree93d2282397f988967381544591facb8930e982a8 /indra/newview/lltoolpie.cpp
parentdb4994734dd485eda64cccc0c05b50aff82d3914 (diff)
Fixes for first click moap
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r--indra/newview/lltoolpie.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index e5bbc73af0..ac51a9fa3e 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -1520,14 +1520,8 @@ bool LLToolPie::shouldAllowFirstMediaInteraction(const LLPickInfo& pick, bool mo
LL_DEBUGS_ONCE() << "FirstClickPref == MEDIA_FIRST_CLICK_NONE" << LL_ENDL;
return false;
}
- // All objects (overriding PRIM_MEDIA_FIRST_CLICK_INTERACT)
- if(FirstClickPref == MEDIA_FIRST_CLICK_ALL)
- {
- LL_DEBUGS_ONCE() << "FirstClickPref & MEDIA_FIRST_CLICK_ALL" << LL_ENDL;
- return true;
- }
// Every check beyond this point requires PRIM_MEDIA_FIRST_CLICK_INTERACT to be TRUE
- if(!moap_flag)
+ if(!moap_flag && !(FirstClickPref & MEDIA_FIRST_BYPASS_MOAP_FLAG))
{
LL_DEBUGS_ONCE() << "PRIM_MEDIA_FIRST_CLICK_INTERACT not set" << LL_ENDL;
return false;