aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolgrab.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/lltoolgrab.cpp
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/newview/lltoolgrab.cpp')
-rw-r--r--linden/indra/newview/lltoolgrab.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/lltoolgrab.cpp b/linden/indra/newview/lltoolgrab.cpp
index d6f1f0e..e79121a 100644
--- a/linden/indra/newview/lltoolgrab.cpp
+++ b/linden/indra/newview/lltoolgrab.cpp
@@ -803,9 +803,10 @@ void LLToolGrab::onMouseCaptureLost()
803 LLVector3 grab_point_agent = mGrabObject->getRenderPosition(); 803 LLVector3 grab_point_agent = mGrabObject->getRenderPosition();
804 804
805 LLCoordGL gl_point; 805 LLCoordGL gl_point;
806 gCamera->projectPosAgentToScreen(grab_point_agent, gl_point); 806 if (gCamera->projectPosAgentToScreen(grab_point_agent, gl_point))
807 807 {
808 LLUI::setCursorPositionScreen(gl_point.mX, gl_point.mY); 808 LLUI::setCursorPositionScreen(gl_point.mX, gl_point.mY);
809 }
809 } 810 }
810 else 811 else
811 { 812 {