From f5983208eba95d29d271898c9823c6d3b5b612bb Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 31 Oct 2011 20:37:11 -0500 Subject: [PATCH] Hide the mouse cursor a bit better when grabbing items in mouselook. --- indra/newview/lltoolgrab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/lltoolgrab.cpp b/indra/newview/lltoolgrab.cpp index 167d03a5a..b5e764dac 100644 --- a/indra/newview/lltoolgrab.cpp +++ b/indra/newview/lltoolgrab.cpp @@ -738,6 +738,7 @@ void LLToolGrab::handleHoverActive(S32 x, S32 y, MASK mask) } // HACK to avoid assert: error checking system makes sure that the cursor is set during every handleHover. This is actually a no-op since the cursor is hidden. + gViewerWindow->hideCursor(); gViewerWindow->setCursor(UI_CURSOR_ARROW); lldebugst(LLERR_USER_INPUT) << "hover handled by LLToolGrab (active) [cursor hidden]" << llendl;