From 7ac0330e4b244f66bef7b5cbe495368cb2879d81 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 22 Jan 2014 00:57:15 -0500 Subject: [PATCH] Fix a rare glitch where mouselook zoomed field of view would be maintained upon leaving mouselook --- indra/newview/lltoolcomp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/lltoolcomp.cpp b/indra/newview/lltoolcomp.cpp index 46ea53339..3f3470e04 100644 --- a/indra/newview/lltoolcomp.cpp +++ b/indra/newview/lltoolcomp.cpp @@ -780,6 +780,7 @@ void LLToolCompGun::handleSelect() void LLToolCompGun::handleDeselect() { LLToolComposite::handleDeselect(); + LLViewerCamera::getInstance()->loadDefaultFOV(); // Singu Note: Load Default FOV in case we were zoomed in setMouseCapture(FALSE); }