aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer
diff options
context:
space:
mode:
authorMW2007-06-10 13:14:46 +0000
committerMW2007-06-10 13:14:46 +0000
commit6cfad7ff14b78ce4e817aa130861a2cd179edfb3 (patch)
tree0cc869e31fc65f519cc10adf026672f0cac39b8e /OpenSim/OpenSim.RegionServer
parentallows the texture of the created/sent primitive to be set. (diff)
downloadopensim-SC_OLD-6cfad7ff14b78ce4e817aa130861a2cd179edfb3.zip
opensim-SC_OLD-6cfad7ff14b78ce4e817aa130861a2cd179edfb3.tar.gz
opensim-SC_OLD-6cfad7ff14b78ce4e817aa130861a2cd179edfb3.tar.bz2
opensim-SC_OLD-6cfad7ff14b78ce4e817aa130861a2cd179edfb3.tar.xz
a few bug fixes
Diffstat (limited to 'OpenSim/OpenSim.RegionServer')
-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 09ba266..d9a137f 100644
--- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs
+++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs
@@ -421,9 +421,11 @@ 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( PrimData primData, LLVector3 pos, LLUUID textureID) 424 public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, PrimData primData, LLVector3 pos, LLUUID textureID)
425 { 425 {
426 ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); 426 ObjectUpdatePacket outPacket = new ObjectUpdatePacket();
427 outPacket.RegionData.RegionHandle = regionHandle;
428 outPacket.RegionData.TimeDilation = timeDilation;
427 outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; 429 outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1];
428 outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primData, textureID); 430 outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primData, textureID);
429 byte[] pb = pos.GetBytes(); 431 byte[] pb = pos.GetBytes();