SL-15794 Rapidly clicking objects or attachments triggers teleport

All doubleclicks should be treated as clicks in scope of editor
master
Andrey Kleshchev 2021-08-10 23:47:22 +03:00
parent e729910e1b
commit 835ca57cbd
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}