added toolbar button for radar, made option to disable lookat completely, changed groundsit hotkey and made it allow standing as well
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
#include "llfloaterchatterbox.h"
|
||||
#include "llfloaterfriends.h"
|
||||
#include "llfloatersnapshot.h"
|
||||
#include "llfloateravatarlist.h"
|
||||
#include "lltoolmgr.h"
|
||||
#include "llui.h"
|
||||
#include "llviewermenu.h"
|
||||
@@ -128,8 +129,8 @@ BOOL LLToolBar::postBuild()
|
||||
childSetAction("appearance_btn", onClickAppearance, this);
|
||||
childSetControlName("appearance_btn", "");
|
||||
|
||||
childSetAction("fly_btn", onClickFly, this);
|
||||
childSetControlName("fly_btn", "FlyBtnState");
|
||||
childSetAction("radar_list_btn", onClickRadarList, this);
|
||||
childSetControlName("radar_list_btn", "RadarListBtnState");
|
||||
|
||||
childSetAction("sit_btn", onClickSit, this);
|
||||
childSetControlName("sit_btn", "SitBtnState");
|
||||
@@ -449,6 +450,17 @@ void LLToolBar::onClickAppearance(void*)
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
void LLToolBar::onClickRadarList(void*)
|
||||
{
|
||||
LLFloaterAvatarList::toggle(0);
|
||||
bool vis = false;
|
||||
if(LLFloaterAvatarList::getInstance())
|
||||
{
|
||||
vis = (bool)LLFloaterAvatarList::getInstance()->getVisible();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// static
|
||||
void LLToolBar::onClickFly(void*)
|
||||
|
||||
Reference in New Issue
Block a user