summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolpie.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-06-27 19:25:01 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-06-27 19:25:01 -0400
commit6693fd0c4128630e7fe6fade40c2d978d37c8410 (patch)
tree02f9350009b704dca4d01bf0ab2716c21f993c64 /indra/newview/lltoolpie.cpp
parentef7bfa5e5260d26505bf8ae90780ee45de9216ef (diff)
parent2fdca60e61543309d43f5fa99ba2b40f209aec20 (diff)
Merge branch 'develop' into geenz/develop-to-gltf-mesh
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..75b980d358 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_CLICK_BYPASS_MOAP_FLAG))
{
LL_DEBUGS_ONCE() << "PRIM_MEDIA_FIRST_CLICK_INTERACT not set" << LL_ENDL;
return false;