summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.cpp
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2024-09-13 10:47:24 -0700
committerleviathan <leviathan@lindenlab.com>2024-09-13 10:47:24 -0700
commitda87e8bd370ea079576f8b412a4ddb80c0715bd1 (patch)
treebdc9e145b111a4e73c773c667315ea14bd1ca5f0 /indra/newview/llagentcamera.cpp
parent74205607b7e106f3b7566ef4a4b9c2fcdfa2f83e (diff)
send AgentUpdate ASAP when control bits change
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r--indra/newview/llagentcamera.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index e7531f963b..81e79a2ed9 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -2204,10 +2204,6 @@ void LLAgentCamera::changeCameraToMouselook(bool animate)
mCameraMode = CAMERA_MODE_MOUSELOOK;
const U32 old_flags = gAgent.getControlFlags();
gAgent.setControlFlags(AGENT_CONTROL_MOUSELOOK);
- if (old_flags != gAgent.getControlFlags())
- {
- gAgent.setFlagsDirty();
- }
if (animate)
{