merge
commit
3d64e29007
|
|
@ -62,6 +62,7 @@
|
|||
#include "llstatusbar.h"
|
||||
#include "llteleportflags.h"
|
||||
#include "lltool.h"
|
||||
#include "lltoolpie.h"
|
||||
#include "lltoolmgr.h"
|
||||
#include "lltrans.h"
|
||||
#include "llurlentry.h"
|
||||
|
|
@ -559,6 +560,8 @@ void LLAgent::setFlying(BOOL fly)
|
|||
// static
|
||||
void LLAgent::toggleFlying()
|
||||
{
|
||||
LLToolPie::instance().stopClickToWalk();
|
||||
|
||||
BOOL fly = !gAgent.getFlying();
|
||||
|
||||
gAgent.mMoveTimer.reset();
|
||||
|
|
|
|||
|
|
@ -688,6 +688,15 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask)
|
|||
return LLTool::handleMouseUp(x, y, mask);
|
||||
}
|
||||
|
||||
void LLToolPie::stopClickToWalk()
|
||||
{
|
||||
mPick.mPosGlobal = gAgent.getPositionGlobal();
|
||||
handle_go_to();
|
||||
if(mAutoPilotDestination)
|
||||
{
|
||||
mAutoPilotDestination->markDead();
|
||||
}
|
||||
}
|
||||
|
||||
BOOL LLToolPie::handleDoubleClick(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ public:
|
|||
LLObjectSelection* getLeftClickSelection() { return (LLObjectSelection*)mLeftClickSelection; }
|
||||
void resetSelection();
|
||||
void blockClickToWalk() { mBlockClickToWalk = true; }
|
||||
void stopClickToWalk();
|
||||
|
||||
static void selectionPropertiesReceived();
|
||||
|
||||
|
|
|
|||
|
|
@ -2696,7 +2696,7 @@
|
|||
<menu_item_call
|
||||
label="Web Content Browser"
|
||||
name="Web Content Browser"
|
||||
shortcut="control|alt|W">
|
||||
shortcut="control|shift|Z">
|
||||
<menu_item_call.on_click
|
||||
function="Advanced.WebContentTest"
|
||||
parameter="http://google.com"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue