diff options
author | WolfGang <flamin2k8@gmail.com> | 2025-07-02 20:56:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 12:56:51 -0700 |
commit | de73d0f0093a5f5f26d0b36ecab0b4d1717e504a (patch) | |
tree | 2afc7010eb8be0c6019bca21e52a7c85deee6f18 /indra/newview/lltoolpie.cpp | |
parent | 2e1d8c3063a7420433ac432b5f1f7f436f9294d1 (diff) |
Merge pull request #4311 from WolfGangS/media-first-click-fixes-2
Fix bit logic mistake in PRIM_MEDIA_FIRST_CLICK_INTERACT work
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
-rw-r--r-- | indra/newview/lltoolpie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 75b980d358..618955c83b 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -1527,7 +1527,7 @@ bool LLToolPie::shouldAllowFirstMediaInteraction(const LLPickInfo& pick, bool mo return false; } // Any object with PRIM_MEDIA_FIRST_CLICK_INTERACT set to TRUE - if(FirstClickPref & MEDIA_FIRST_CLICK_ANY) + if((FirstClickPref & MEDIA_FIRST_CLICK_ANY) == MEDIA_FIRST_CLICK_ANY) { LL_DEBUGS_ONCE() << "FirstClickPref & MEDIA_FIRST_CLICK_ANY" << LL_ENDL; return true; |