diff options
| author | brad kittenbrink <brad@lindenlab.com> | 2011-05-09 11:26:24 -0700 |
|---|---|---|
| committer | brad kittenbrink <brad@lindenlab.com> | 2011-05-09 11:26:24 -0700 |
| commit | 2661a4c2c9359f2c2cabce6f48704dc8fb481994 (patch) | |
| tree | d6fafbb1a084ea8b06db3d3499bd5084b7e4f7f6 /indra/newview/lltoolpie.cpp | |
| parent | 26334a4c57e58bfd13e6bbbff2298ec5ba3e77e7 (diff) | |
| parent | a5118ccd6721afdf4f8c71cba6007eb7be4d7c19 (diff) | |
Merge.
Diffstat (limited to 'indra/newview/lltoolpie.cpp')
| -rw-r--r-- | indra/newview/lltoolpie.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 06e0d17b8c..9ec4d33036 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -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) { |
