From d93f0bb56a2d7c47fbaacb484c9e6df868a5eeca Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 11 Jan 2012 11:18:23 -0500 Subject: [PATCH] Rubber-band camera in crouchtoggle avoided. --- indra/newview/llagent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index a80cb3b43..c432e3a4b 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -439,7 +439,7 @@ void LLAgent::moveUp(S32 direction) setControlFlags(AGENT_CONTROL_UP_NEG | AGENT_CONTROL_FAST_UP); } - gAgentCamera.resetView(); + if (!isCrouch) gAgentCamera.resetView(); } //-----------------------------------------------------------------------------