avinationmerge
UbitUmarov 2012-12-10 11:25:30 +00:00
parent ecdd0e225f
commit c6430b14db
1 changed files with 3 additions and 2 deletions

View File

@ -3992,6 +3992,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
const float TIME_DILATION = 1.0f; const float TIME_DILATION = 1.0f;
ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f);
if (terseAgentUpdateBlocks.IsValueCreated) if (terseAgentUpdateBlocks.IsValueCreated)
{ {
@ -4972,7 +4973,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// in that direction, even though we don't model this on the server. Implementing this in the future // in that direction, even though we don't model this on the server. Implementing this in the future
// may improve movement smoothness. // may improve movement smoothness.
// acceleration = new Vector3(1, 0, 0); // acceleration = new Vector3(1, 0, 0);
angularVelocity = Vector3.Zero; angularVelocity = Vector3.Zero;
if (sendTexture) if (sendTexture)
@ -5844,7 +5845,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack) private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack)
{ {
VelocityInterpolateOffPacket p = (VelocityInterpolateOffPacket)Pack; VelocityInterpolateOnPacket p = (VelocityInterpolateOnPacket)Pack;
if (p.AgentData.SessionID != SessionId || if (p.AgentData.SessionID != SessionId ||
p.AgentData.AgentID != AgentId) p.AgentData.AgentID != AgentId)
return true; return true;