aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-12 00:21:45 +0100
committerJustin Clark-Casey (justincc)2012-10-12 00:21:45 +0100
commit8a402850ddbdd9497998774b646c8e0ae6ef1eb8 (patch)
tree2b3eec489e6a859e98799a67443140e097f87be0 /OpenSim
parentFix build break by moving OpenSim.Framework.Console back below HttpServer in ... (diff)
downloadopensim-SC_OLD-8a402850ddbdd9497998774b646c8e0ae6ef1eb8.zip
opensim-SC_OLD-8a402850ddbdd9497998774b646c8e0ae6ef1eb8.tar.gz
opensim-SC_OLD-8a402850ddbdd9497998774b646c8e0ae6ef1eb8.tar.bz2
opensim-SC_OLD-8a402850ddbdd9497998774b646c8e0ae6ef1eb8.tar.xz
Enable reuse of data blocks for ImprovedTerseObjectUpdate using existing Packetpool code.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index dc88686..5f9face 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -4964,7 +4964,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4964 Utils.UInt16ToBytes(Utils.FloatToUInt16(angularVelocity.Y, -64.0f, 64.0f), data, pos); pos += 2; 4964 Utils.UInt16ToBytes(Utils.FloatToUInt16(angularVelocity.Y, -64.0f, 64.0f), data, pos); pos += 2;
4965 Utils.UInt16ToBytes(Utils.FloatToUInt16(angularVelocity.Z, -64.0f, 64.0f), data, pos); pos += 2; 4965 Utils.UInt16ToBytes(Utils.FloatToUInt16(angularVelocity.Z, -64.0f, 64.0f), data, pos); pos += 2;
4966 4966
4967 ImprovedTerseObjectUpdatePacket.ObjectDataBlock block = new ImprovedTerseObjectUpdatePacket.ObjectDataBlock(); 4967 ImprovedTerseObjectUpdatePacket.ObjectDataBlock block
4968 = PacketPool.Instance.GetDataBlock<ImprovedTerseObjectUpdatePacket.ObjectDataBlock>();
4969
4968 block.Data = data; 4970 block.Data = data;
4969 4971
4970 if (textureEntry != null && textureEntry.Length > 0) 4972 if (textureEntry != null && textureEntry.Length > 0)