summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-11-16 16:28:04 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-11-16 16:28:04 +0200
commiteef22e0baf9e62f8c38058ad22e6e6bd5e5aca26 (patch)
tree2a498eb73a80802c7811193ce63253c9be905295 /indra/newview/llviewerwindow.cpp
parent59d575fe615bf14a10056c9b9fe0c109ec2c103e (diff)
parentbd42c1ae2cd6bb6e005478cc121c2b5d7a844eb4 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 1054223dcf..90a79698f6 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1015,7 +1015,10 @@ BOOL LLViewerWindow::handleActivate(LLWindow *window, BOOL activated)
}
// SL-53351: Make sure we're not in mouselook when minimised, to prevent control issues
- gAgent.changeCameraToDefault();
+ if (gAgent.getCameraMode() == CAMERA_MODE_MOUSELOOK)
+ {
+ gAgent.changeCameraToDefault();
+ }
send_agent_pause();