summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-06-15 18:20:47 +0300
committerGitHub <noreply@github.com>2024-06-15 18:20:47 +0300
commit847a8458ecbcefd989a02c727e50f96c606d9d39 (patch)
tree1561a55fe1e62356089d4912cd8216cc15b57e09 /indra/newview/llagentcamera.cpp
parentc4fc76efefd12c7cb1224dc8a748da2958f4a7f0 (diff)
parentbfadb935560003e94197a0c9532a7ba086c6720a (diff)
Merge pull request #1774 from secondlife/marchcat/b-merge
Release (Materials featurette) -> Maint B sync
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r--indra/newview/llagentcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 282b41b2f1..1912d9d1d5 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -2526,7 +2526,7 @@ void LLAgentCamera::setFocusGlobal(const LLPickInfo& pick)
{
LLViewerObject* objectp = gObjectList.findObject(pick.mObjectID);
- if (objectp)
+ if (objectp && pick.mGLTFNodeIndex == -1)
{
// focus on object plus designated offset
// which may or may not be same as pick.mPosGlobal