summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-16 15:29:41 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-16 15:29:41 -0400
commitcc5beffdf45fcb3d76bd83af1dc7394ba6ea65d7 (patch)
tree9c62f5ff0a8547ca2f0b7d46bb418fd3a4c87857 /indra/newview/llagentcamera.cpp
parentbc91053543278b56d7009ab6bbcdee88a0ee1418 (diff)
parent5635f10c41a72c62cbf44ae9415aadb83447ca22 (diff)
merge
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 3fc5e88633..c6ca9c5e3a 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -1644,7 +1644,7 @@ LLVector3d LLAgentCamera::calcThirdPersonFocusOffset()
}
focus_offset = convert_from_llsd<LLVector3d>(mFocusOffsetInitial[mCameraPreset]->get(), TYPE_VEC3D, "");
- return focus_offset;
+ return focus_offset * agent_rot;
}
void LLAgentCamera::setupSitCamera()