diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 440f583..73b3887 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -719,9 +719,8 @@ namespace OpenSim.Region.ClientStack | |||
719 | 719 | ||
720 | this.OutPacket(attach); | 720 | this.OutPacket(attach); |
721 | } | 721 | } |
722 | |||
723 | 722 | ||
724 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, LLQuaternion rotation, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID) | 723 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, LLQuaternion rotation, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID, byte[] particleSystem) |
725 | { | 724 | { |
726 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); | 725 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); |
727 | outPacket.RegionData.RegionHandle = regionHandle; | 726 | outPacket.RegionData.RegionHandle = regionHandle; |
@@ -733,6 +732,7 @@ namespace OpenSim.Region.ClientStack | |||
733 | outPacket.ObjectData[0].OwnerID = ownerID; | 732 | outPacket.ObjectData[0].OwnerID = ownerID; |
734 | outPacket.ObjectData[0].Text = Helpers.StringToField( text ); | 733 | outPacket.ObjectData[0].Text = Helpers.StringToField( text ); |
735 | outPacket.ObjectData[0].ParentID = parentID; | 734 | outPacket.ObjectData[0].ParentID = parentID; |
735 | outPacket.ObjectData[0].PSBlock = particleSystem; | ||
736 | byte[] pb = pos.GetBytes(); | 736 | byte[] pb = pos.GetBytes(); |
737 | Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length); | 737 | Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length); |
738 | byte[] rot = rotation.GetBytes(); | 738 | byte[] rot = rotation.GetBytes(); |
@@ -740,7 +740,7 @@ namespace OpenSim.Region.ClientStack | |||
740 | OutPacket(outPacket); | 740 | OutPacket(outPacket); |
741 | } | 741 | } |
742 | 742 | ||
743 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID) | 743 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID, byte[] particleSystem) |
744 | { | 744 | { |
745 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); | 745 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); |
746 | outPacket.RegionData.RegionHandle = regionHandle; | 746 | outPacket.RegionData.RegionHandle = regionHandle; |
@@ -752,6 +752,7 @@ namespace OpenSim.Region.ClientStack | |||
752 | outPacket.ObjectData[0].OwnerID = ownerID; | 752 | outPacket.ObjectData[0].OwnerID = ownerID; |
753 | outPacket.ObjectData[0].Text = Helpers.StringToField( text ); | 753 | outPacket.ObjectData[0].Text = Helpers.StringToField( text ); |
754 | outPacket.ObjectData[0].ParentID = parentID; | 754 | outPacket.ObjectData[0].ParentID = parentID; |
755 | outPacket.ObjectData[0].PSBlock = particleSystem; | ||
755 | byte[] pb = pos.GetBytes(); | 756 | byte[] pb = pos.GetBytes(); |
756 | Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length); | 757 | Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length); |
757 | 758 | ||