diff options
author | McCabe Maxsted | 2010-03-30 22:53:55 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-03-30 22:53:55 -0700 |
commit | c55c7339ea950034d56ef61bdf34b450c28b510f (patch) | |
tree | c98ab9da656348845ef4b9ce799f69b38958f5e0 /linden/indra/newview/llagent.cpp | |
parent | @nochangelog fixed line endings on /es/panel_avatar.xml (diff) | |
download | meta-impy-c55c7339ea950034d56ef61bdf34b450c28b510f.zip meta-impy-c55c7339ea950034d56ef61bdf34b450c28b510f.tar.gz meta-impy-c55c7339ea950034d56ef61bdf34b450c28b510f.tar.bz2 meta-impy-c55c7339ea950034d56ef61bdf34b450c28b510f.tar.xz |
Ported clientside AO from Emerald r1633
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index 0a1bd98..18475c6 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -67,6 +67,7 @@ | |||
67 | #include "llface.h" | 67 | #include "llface.h" |
68 | #include "llfirstuse.h" | 68 | #include "llfirstuse.h" |
69 | #include "llfloater.h" | 69 | #include "llfloater.h" |
70 | #include "floaterao.h" | ||
70 | #include "llfloateractivespeakers.h" | 71 | #include "llfloateractivespeakers.h" |
71 | #include "llfloateravatarinfo.h" | 72 | #include "llfloateravatarinfo.h" |
72 | #include "llfloaterbuildoptions.h" | 73 | #include "llfloaterbuildoptions.h" |
@@ -4069,6 +4070,7 @@ void LLAgent::changeCameraToMouselook(BOOL animate) | |||
4069 | if( mCameraMode != CAMERA_MODE_MOUSELOOK ) | 4070 | if( mCameraMode != CAMERA_MODE_MOUSELOOK ) |
4070 | { | 4071 | { |
4071 | gFocusMgr.setKeyboardFocus( NULL ); | 4072 | gFocusMgr.setKeyboardFocus( NULL ); |
4073 | if (gSavedSettings.getBOOL("AONoStandsInMouselook")) LLFloaterAO::stopMotion(LLFloaterAO::getCurrentStandId(), FALSE,TRUE); | ||
4072 | 4074 | ||
4073 | mLastCameraMode = mCameraMode; | 4075 | mLastCameraMode = mCameraMode; |
4074 | mCameraMode = CAMERA_MODE_MOUSELOOK; | 4076 | mCameraMode = CAMERA_MODE_MOUSELOOK; |
@@ -6030,7 +6032,7 @@ bool LLAgent::teleportCore(bool is_local) | |||
6030 | if(TELEPORT_NONE != mTeleportState) | 6032 | if(TELEPORT_NONE != mTeleportState) |
6031 | { | 6033 | { |
6032 | llwarns << "Attempt to teleport when already teleporting." << llendl; | 6034 | llwarns << "Attempt to teleport when already teleporting." << llendl; |
6033 | return false; | 6035 | //return false; //This seems to fix getting stuck in TPs in the first place. --Liny |
6034 | } | 6036 | } |
6035 | 6037 | ||
6036 | #if 0 | 6038 | #if 0 |