summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-07-01 11:01:43 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-07-01 11:01:43 +0300
commit7932a77319c629c16f3bc1217dd04167c5687ae4 (patch)
tree03805426e21320989a2689c51d22541c1674f61b /indra/newview/llagentcamera.cpp
parentf21ad12b376da6c82f79c61ff7d25b692da70d87 (diff)
MAINT-3885 FIXED Don't set focus on avatar after double-click-teleport if camera was locked.
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rwxr-xr-xindra/newview/llagentcamera.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index 7b0496ea45..2356a84688 100755
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -2721,6 +2721,11 @@ void LLAgentCamera::lookAtLastChat()
}
}
+bool LLAgentCamera::isfollowCamLocked()
+{
+ return mFollowCam.getPositionLocked();
+}
+
BOOL LLAgentCamera::setPointAt(EPointAtType target_type, LLViewerObject *object, LLVector3 position)
{
// disallow pointing at attachments and avatars