summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-06-16 09:50:09 -0700
committerRichard Nelson <none@none>2010-06-16 09:50:09 -0700
commit206ce0bb2c0b884b8c64f05d3eb3f9173267d764 (patch)
tree2f446caa4450b16b7cf194cc91c93376e60e2841 /indra/newview/llagentcamera.cpp
parent9ee5a62332353db6a098628e69732d2723cc5deb (diff)
fix for broken rear view camera
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()