diff options
author | Armin Weatherwax | 2009-07-11 12:25:27 +0200 |
---|---|---|
committer | McCabe Maxsted | 2009-09-04 13:53:32 -0700 |
commit | 73b8ee092e6f8a450e5bf71c43a0362c4986a005 (patch) | |
tree | 80329c527545c180dcb35f4249f7809a817fe369 /linden/indra/newview/lltoolpie.cpp | |
parent | Linux middle mouse button paste/primary selection support and gtk clipboard h... (diff) | |
download | meta-impy-73b8ee092e6f8a450e5bf71c43a0362c4986a005.zip meta-impy-73b8ee092e6f8a450e5bf71c43a0362c4986a005.tar.gz meta-impy-73b8ee092e6f8a450e5bf71c43a0362c4986a005.tar.bz2 meta-impy-73b8ee092e6f8a450e5bf71c43a0362c4986a005.tar.xz |
Teleport by double clicking into the viewer window. Port and bugfix of cv port of emerald greenlife viewer feature. TODO: find a nice place in prefs to switch off (defaults to on).
(cherry picked from commit 86e186e40f6a128abab1c3a44f33520508b37f16)
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 27d1c4c..7f3bd82 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -635,7 +635,7 @@ BOOL LLToolPie::handleDoubleClick(S32 x, S32 y, MASK mask) | |||
635 | llinfos << "LLToolPie handleDoubleClick (becoming mouseDown)" << llendl; | 635 | llinfos << "LLToolPie handleDoubleClick (becoming mouseDown)" << llendl; |
636 | } | 636 | } |
637 | 637 | ||
638 | if (gSavedSettings.getBOOL("DoubleClickAutoPilot")) | 638 | if (gSavedSettings.getBOOL("DoubleClickAutoPilot") || gSavedSettings.getBOOL("DoubleClickTeleport")) |
639 | { | 639 | { |
640 | if (mPick.mPickType == LLPickInfo::PICK_LAND | 640 | if (mPick.mPickType == LLPickInfo::PICK_LAND |
641 | && !mPick.mPosGlobal.isExactlyZero()) | 641 | && !mPick.mPosGlobal.isExactlyZero()) |