revert changes for SH-3927: Interesting: Viewer should send predicted camera position to simulator to control object load order

meow-7.2.2
Xiaohong Bao 2013-05-31 15:22:29 -06:00
parent ee0087709a
commit a6e80e3526
1 changed files with 0 additions and 3 deletions

View File

@ -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();