Fix a rare glitch where mouselook zoomed field of view would be maintained upon leaving mouselook

This commit is contained in:
Lirusaito
2014-01-22 00:57:15 -05:00
parent bbb1d15b8e
commit 7ac0330e4b

View File

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