Fix very recent regression in 917d753 where I put the ++updatesThisCall outside the batching part of ProcessEntityUpdates()

This stopped any batching happening and since this method is called periodically updates were sent very slowly
0.7.3-extended
Justin Clark-Casey (justincc) 2012-06-14 03:49:54 +01:00
parent da3877a77d
commit 6219c137e1
1 changed files with 2 additions and 2 deletions

View File

@ -3839,6 +3839,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
} }
++updatesThisCall;
#endregion Block Construction #endregion Block Construction
} }
@ -3904,8 +3906,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// If any of the packets created from this call go unacknowledged, all of the updates will be resent // If any of the packets created from this call go unacknowledged, all of the updates will be resent
OutPacket(packet, ThrottleOutPacketType.Task, true, delegate(OutgoingPacket oPacket) { ResendPrimUpdates(terseUpdates.Value, oPacket); }); OutPacket(packet, ThrottleOutPacketType.Task, true, delegate(OutgoingPacket oPacket) { ResendPrimUpdates(terseUpdates.Value, oPacket); });
} }
++updatesThisCall;
} }
#endregion Packet Sending #endregion Packet Sending