summaryrefslogtreecommitdiff
path: root/indra/newview/llwlparamset.cpp
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-03-26 17:47:12 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-03-26 17:47:12 -0700
commit8a3fe4d9e4dd5e3092bf55664c0435315690d1f0 (patch)
tree16987d0ff6cd98f4e761ac3f19f1e37e3cc2c794 /indra/newview/llwlparamset.cpp
parentd98b2ce4865dc90e635fe75d676e4965bccfa793 (diff)
Fix for EXT-6573 (Mouse-steering doesn't work in third person view)
LLAgentCamera::cameraOrbitAround() (which had been created from LLAgent:: cameraOrbitAround() when LLAgentCamera was factored out) wasn't correctly processing yaw. Specifically, since gAgent.getFrameAgent() returns by value and not reference, gAgent.getFrameAgent().rotate() was discarding the result of the rotation. Changed LLAgentCamera::cameraOrbitAround() to use gAgent.yaw() instead, and changed LLAgent::getFrameAgent() to return a const reference instead of a value, which should make the compiler catch errors like this. Reviewed by Richard in http://codereview.lindenlab.com/1153001
Diffstat (limited to 'indra/newview/llwlparamset.cpp')
0 files changed, 0 insertions, 0 deletions