aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r--linden/indra/newview/llagent.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index 0a1bd98..8c455a5 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"
@@ -79,6 +80,7 @@
79#include "llfloatermap.h" 80#include "llfloatermap.h"
80#include "llfloatermute.h" 81#include "llfloatermute.h"
81#include "llfloatersnapshot.h" 82#include "llfloatersnapshot.h"
83#include "llfloaterstats.h"
82#include "llfloatertools.h" 84#include "llfloatertools.h"
83#include "llfloaterworldmap.h" 85#include "llfloaterworldmap.h"
84#include "llgroupmgr.h" 86#include "llgroupmgr.h"
@@ -2874,6 +2876,10 @@ static const LLFloaterView::skip_list_t& get_skip_list()
2874{ 2876{
2875 static LLFloaterView::skip_list_t skip_list; 2877 static LLFloaterView::skip_list_t skip_list;
2876 skip_list.insert(LLFloaterMap::getInstance()); 2878 skip_list.insert(LLFloaterMap::getInstance());
2879 if(gSavedSettings.getBOOL("ShowStatusBarInMouselook"))
2880 {
2881 skip_list.insert(LLFloaterStats::getInstance());
2882 }
2877 return skip_list; 2883 return skip_list;
2878} 2884}
2879 2885
@@ -4069,6 +4075,7 @@ void LLAgent::changeCameraToMouselook(BOOL animate)
4069 if( mCameraMode != CAMERA_MODE_MOUSELOOK ) 4075 if( mCameraMode != CAMERA_MODE_MOUSELOOK )
4070 { 4076 {
4071 gFocusMgr.setKeyboardFocus( NULL ); 4077 gFocusMgr.setKeyboardFocus( NULL );
4078 if (gSavedSettings.getBOOL("AONoStandsInMouselook")) LLFloaterAO::stopMotion(LLFloaterAO::getCurrentStandId(), FALSE,TRUE);
4072 4079
4073 mLastCameraMode = mCameraMode; 4080 mLastCameraMode = mCameraMode;
4074 mCameraMode = CAMERA_MODE_MOUSELOOK; 4081 mCameraMode = CAMERA_MODE_MOUSELOOK;
@@ -4276,13 +4283,15 @@ void LLAgent::changeCameraToCustomizeAvatar(BOOL avatar_animate, BOOL camera_ani
4276 } 4283 }
4277 4284
4278// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) 4285// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g)
4286 if(gSavedSettings.getBOOL("AppearanceForceStand"))
4279 if ( (gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) && (mAvatarObject.notNull()) && (mAvatarObject->mIsSitting) ) 4287 if ( (gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) && (mAvatarObject.notNull()) && (mAvatarObject->mIsSitting) )
4280 { 4288 {
4281 return; 4289 return;
4282 } 4290 }
4283// [/RLVa:KB] 4291// [/RLVa:KB]
4284 4292
4285 setControlFlags(AGENT_CONTROL_STAND_UP); // force stand up 4293 if(gSavedSettings.getBOOL("AppearanceForceStand"))
4294 setControlFlags(AGENT_CONTROL_STAND_UP); // force stand up
4286 gViewerWindow->getWindow()->resetBusyCount(); 4295 gViewerWindow->getWindow()->resetBusyCount();
4287 4296
4288 if (gFaceEditToolset) 4297 if (gFaceEditToolset)
@@ -6030,7 +6039,7 @@ bool LLAgent::teleportCore(bool is_local)
6030 if(TELEPORT_NONE != mTeleportState) 6039 if(TELEPORT_NONE != mTeleportState)
6031 { 6040 {
6032 llwarns << "Attempt to teleport when already teleporting." << llendl; 6041 llwarns << "Attempt to teleport when already teleporting." << llendl;
6033 return false; 6042 //return false; //This seems to fix getting stuck in TPs in the first place. --Liny
6034 } 6043 }
6035 6044
6036#if 0 6045#if 0