revert changes for SH-3927: Interesting: Viewer should send predicted camera position to simulator to control object load order
parent
ee0087709a
commit
a6e80e3526
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue