summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-07-13 13:55:04 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-07-13 13:55:04 -0400
commita6a0d5dda70de972ca1e386534284e2e93f29903 (patch)
tree2da2918a958a7657290f9ccd0c3be9bc58ddcf1a /indra/newview
parent44c7c6feaa824f4049d326965cb066e76ebefee3 (diff)
SH-1637 FIX, SH-1638 FIX - fixes jittery camera problems
Diffstat (limited to 'indra/newview')
-rwxr-xr-x[-rw-r--r--]indra/newview/llagent.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 8954937f69..492cfe7c1b 100644..100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -577,7 +577,10 @@ void LLAgent::setFlying(BOOL fly)
// static
void LLAgent::toggleFlying()
{
- LLToolPie::instance().stopClickToWalk();
+ if ( gAgent.mAutoPilot )
+ {
+ LLToolPie::instance().stopClickToWalk();
+ }
BOOL fly = !gAgent.getFlying();