Issue 97: Disable Leaving Mouselook when viewer window loses focus

This commit is contained in:
Inusaito Sayori
2014-01-23 19:39:38 -05:00
parent ab55c61dc3
commit 17f7967e39

View File

@@ -516,11 +516,11 @@ LLAgent::~LLAgent()
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void LLAgent::onAppFocusGained() void LLAgent::onAppFocusGained()
{ {
if (CAMERA_MODE_MOUSELOOK == gAgentCamera.getCameraMode()) /*if (CAMERA_MODE_MOUSELOOK == gAgentCamera.getCameraMode()) // Singu Note: Issue 97 requested that we don't do this.
{ {
gAgentCamera.changeCameraToDefault(); gAgentCamera.changeCameraToDefault();
LLToolMgr::getInstance()->clearSavedTool(); LLToolMgr::getInstance()->clearSavedTool();
} }*/
} }