aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2019-03-03 12:15:28 +0000
committerUbitUmarov2019-03-03 12:15:28 +0000
commit80056abbe71a5946b6f20d33069e12c952af9eeb (patch)
treebb22d7ef0a2d61d61ae8229f4a57bd9656c67e18 /OpenSim
parentdirect encode lludp terse object update, let contain texture entry (diff)
downloadopensim-SC-80056abbe71a5946b6f20d33069e12c952af9eeb.zip
opensim-SC-80056abbe71a5946b6f20d33069e12c952af9eeb.tar.gz
opensim-SC-80056abbe71a5946b6f20d33069e12c952af9eeb.tar.bz2
opensim-SC-80056abbe71a5946b6f20d33069e12c952af9eeb.tar.xz
OOOPPPSSS
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index da4c1fb..e039fbf 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -4477,7 +4477,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4477 { 4477 {
4478 lastpos = pos; 4478 lastpos = pos;
4479 CreateImprovedTerseBlock(eu.Entity, buf.Data, ref pos, (eu.Flags & PrimUpdateFlags.Textures) != 0); 4479 CreateImprovedTerseBlock(eu.Entity, buf.Data, ref pos, (eu.Flags & PrimUpdateFlags.Textures) != 0);
4480 if (pos <= LLUDPServer.MTU) 4480 if (pos < LLUDPServer.MTU)
4481 { 4481 {
4482 tau.Add(eu); 4482 tau.Add(eu);
4483 ++count; 4483 ++count;
@@ -4491,7 +4491,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4491 // copy what we done in excess 4491 // copy what we done in excess
4492 int extralen = pos - lastpos; 4492 int extralen = pos - lastpos;
4493 if(extralen > 0) 4493 if(extralen > 0)
4494 Buffer.BlockCopy(newbuf.Data, 18, buf.Data, lastpos, extralen); 4494 Buffer.BlockCopy(buf.Data, lastpos, newbuf.Data, 18, extralen);
4495 4495
4496 pos = 18 + extralen; 4496 pos = 18 + extralen;
4497 4497