aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/ClientView.API.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/ClientView.API.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/ClientView.API.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
index d9a137f..f59e170 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -421,13 +421,15 @@ namespace OpenSim
421 /// </summary> 421 /// </summary>
422 /// <param name="primData"></param> 422 /// <param name="primData"></param>
423 /// <param name="pos"></param> 423 /// <param name="pos"></param>
424 public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, PrimData primData, LLVector3 pos, LLUUID textureID) 424 public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimData primData, LLVector3 pos, LLUUID textureID)
425 { 425 {
426 ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); 426 ObjectUpdatePacket outPacket = new ObjectUpdatePacket();
427 outPacket.RegionData.RegionHandle = regionHandle; 427 outPacket.RegionData.RegionHandle = regionHandle;
428 outPacket.RegionData.TimeDilation = timeDilation; 428 outPacket.RegionData.TimeDilation = timeDilation;
429 outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; 429 outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1];
430 outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primData, textureID); 430 outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primData, textureID);
431 outPacket.ObjectData[0].ID = localID;
432 outPacket.ObjectData[0].FullID = primData.FullID;
431 byte[] pb = pos.GetBytes(); 433 byte[] pb = pos.GetBytes();
432 Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length); 434 Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length);
433 435