diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-05-31 15:22:29 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-05-31 15:22:29 -0600 |
commit | a6e80e3526af3890e688e53329be040e899fe203 (patch) | |
tree | 24e6e9aa59e8b72782ffc518db155f3ade63453a | |
parent | ee0087709afe05a9fe38e3da743421faead9e02f (diff) |
revert changes for SH-3927: Interesting: Viewer should send predicted camera position to simulator to control object load order
-rwxr-xr-x | indra/newview/llviewermessage.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 8dc72ba5b4..4b1c9c5574 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4222,9 +4222,6 @@ void send_agent_update(BOOL force_send, BOOL send_reliable) LLQuaternion head_rotation = gAgent.getHeadRotation(); camera_pos_agent = gAgentCamera.getCameraPositionAgent(); - LLVector3 camera_velocity = LLViewerCamera::getInstance()->getVelocityDir() * LLViewerCamera::getInstance()->getAverageSpeed(); - F32 time_delta = 1.0f; //predict the camera position in 1 second - camera_pos_agent += camera_velocity * time_delta; render_state = gAgent.getRenderState(); |