diff options
| author | Karl Steifvater <qarl@lindenlab.com> | 2008-07-22 20:12:37 +0000 | 
|---|---|---|
| committer | Karl Steifvater <qarl@lindenlab.com> | 2008-07-22 20:12:37 +0000 | 
| commit | df4f20d4f51e41355e876f734527b4245543415c (patch) | |
| tree | 36aaf66ddb96b27fb9701764153cd7d17add275a /indra/llwindow | |
| parent | 0c0391cc7114bd2e9e4462c40e88814326f61bc2 (diff) | |
merge uv-picking branch.
svn merge -r92602:92632 svn+ssh://svn.lindenlab.com/svn/linden/branches/uv-picking-4
Diffstat (limited to 'indra/llwindow')
| -rw-r--r-- | indra/llwindow/llwindowmacosx.cpp | 5 | ||||
| -rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 4 | 
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index 65f0a2b7e2..df3fb2e240 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -1411,6 +1411,11 @@ BOOL LLWindowMacOSX::setCursorPosition(const LLCoordWindow position)  	// Under certain circumstances, this will trigger us to decouple the cursor.  	adjustCursorDecouple(true); +	// trigger mouse move callback +	LLCoordGL gl_pos; +	convertCoords(position, &gl_pos); +	mCallbacks->handleMouseMove(this, gl_pos, (MASK)0); +  	return result;  } diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 4a81ddd1fd..526a6769a0 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -1387,6 +1387,10 @@ BOOL LLWindowWin32::setCursorPosition(const LLCoordWindow position)  		return FALSE;  	} +	LLCoordGL gl_pos; +	convertCoords(position, &gl_pos); +	mCallbacks->handleMouseMove(this, gl_pos, (MASK)0); +	  	return SetCursorPos(screen_pos.mX, screen_pos.mY);  }  | 
