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.4.1
Justin Clark-Casey (justincc) 2012-06-14 03:49:54 +01:00
parent 3888b9a670
commit 2c6555021f
1 changed files with 2 additions and 2 deletions

View File

@ -3849,6 +3849,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
} }
++updatesThisCall;
#endregion Block Construction #endregion Block Construction
} }
@ -3914,8 +3916,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