diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-08-10 23:47:22 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-11-18 20:42:33 +0200 |
commit | 835ca57cbd81e54aec8ff1ac331caff9b550a8a7 (patch) | |
tree | f9cb80abc2355d9acd41feb1203f16cc22f52a40 /indra | |
parent | e729910e1b7ac1ea9961049e7fe96194cbc7f805 (diff) |
SL-15794 Rapidly clicking objects or attachments triggers teleport
All doubleclicks should be treated as clicks in scope of editor
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lltoolcomp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lltoolcomp.cpp b/indra/newview/lltoolcomp.cpp index f9c327b46e..ba328f27c4 100644 --- a/indra/newview/lltoolcomp.cpp +++ b/indra/newview/lltoolcomp.cpp @@ -343,7 +343,9 @@ BOOL LLToolCompTranslate::handleDoubleClick(S32 x, S32 y, MASK mask) } // Nothing selected means the first mouse click was probably // bad, so try again. - return FALSE; + // This also consumes the event to prevent things like double-click + // teleport from triggering. + return handleMouseDown(x, y, mask); } |