diff options
author | MW | 2007-07-12 13:09:39 +0000 |
---|---|---|
committer | MW | 2007-07-12 13:09:39 +0000 |
commit | 27c595c00744b9601a49b64f74b686f838e7209e (patch) | |
tree | f82bf6f83b78e6294deba922a561fa0f65609a23 /OpenSim/Region/ClientStack/ClientView.API.cs | |
parent | Hopefully texturing prims should now work correctly. (diff) | |
download | opensim-SC-27c595c00744b9601a49b64f74b686f838e7209e.zip opensim-SC-27c595c00744b9601a49b64f74b686f838e7209e.tar.gz opensim-SC-27c595c00744b9601a49b64f74b686f838e7209e.tar.bz2 opensim-SC-27c595c00744b9601a49b64f74b686f838e7209e.tar.xz |
Cleaning up some of the CAPS functions, Asset uploads now use the new LLSDStreamhandler system.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index b9eba3a..e88995f 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -766,13 +766,13 @@ namespace OpenSim.Region.ClientStack | |||
766 | } | 766 | } |
767 | 767 | ||
768 | 768 | ||
769 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, LLQuaternion rotation, LLUUID textureID, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID) | 769 | 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) |
770 | { | 770 | { |
771 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); | 771 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); |
772 | outPacket.RegionData.RegionHandle = regionHandle; | 772 | outPacket.RegionData.RegionHandle = regionHandle; |
773 | outPacket.RegionData.TimeDilation = timeDilation; | 773 | outPacket.RegionData.TimeDilation = timeDilation; |
774 | outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; | 774 | outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; |
775 | outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primShape, textureID, flags); | 775 | outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primShape, flags); |
776 | outPacket.ObjectData[0].ID = localID; | 776 | outPacket.ObjectData[0].ID = localID; |
777 | outPacket.ObjectData[0].FullID = objectID; | 777 | outPacket.ObjectData[0].FullID = objectID; |
778 | outPacket.ObjectData[0].OwnerID = ownerID; | 778 | outPacket.ObjectData[0].OwnerID = ownerID; |
@@ -785,13 +785,13 @@ namespace OpenSim.Region.ClientStack | |||
785 | OutPacket(outPacket); | 785 | OutPacket(outPacket); |
786 | } | 786 | } |
787 | 787 | ||
788 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, LLUUID textureID, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID) | 788 | public void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID) |
789 | { | 789 | { |
790 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); | 790 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); |
791 | outPacket.RegionData.RegionHandle = regionHandle; | 791 | outPacket.RegionData.RegionHandle = regionHandle; |
792 | outPacket.RegionData.TimeDilation = timeDilation; | 792 | outPacket.RegionData.TimeDilation = timeDilation; |
793 | outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; | 793 | outPacket.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; |
794 | outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primShape, textureID, flags); | 794 | outPacket.ObjectData[0] = this.CreatePrimUpdateBlock(primShape, flags); |
795 | outPacket.ObjectData[0].ID = localID; | 795 | outPacket.ObjectData[0].ID = localID; |
796 | outPacket.ObjectData[0].FullID = objectID; | 796 | outPacket.ObjectData[0].FullID = objectID; |
797 | outPacket.ObjectData[0].OwnerID = ownerID; | 797 | outPacket.ObjectData[0].OwnerID = ownerID; |
@@ -996,12 +996,12 @@ namespace OpenSim.Region.ClientStack | |||
996 | /// </summary> | 996 | /// </summary> |
997 | /// <param name="primData"></param> | 997 | /// <param name="primData"></param> |
998 | /// <returns></returns> | 998 | /// <returns></returns> |
999 | protected ObjectUpdatePacket.ObjectDataBlock CreatePrimUpdateBlock(PrimitiveBaseShape primShape, LLUUID textureID, uint flags) | 999 | protected ObjectUpdatePacket.ObjectDataBlock CreatePrimUpdateBlock(PrimitiveBaseShape primShape, uint flags) |
1000 | { | 1000 | { |
1001 | ObjectUpdatePacket.ObjectDataBlock objupdate = new ObjectUpdatePacket.ObjectDataBlock(); | 1001 | ObjectUpdatePacket.ObjectDataBlock objupdate = new ObjectUpdatePacket.ObjectDataBlock(); |
1002 | this.SetDefaultPrimPacketValues(objupdate); | 1002 | this.SetDefaultPrimPacketValues(objupdate); |
1003 | objupdate.UpdateFlags = flags; | 1003 | objupdate.UpdateFlags = flags; |
1004 | this.SetPrimPacketShapeData(objupdate, primShape, textureID); | 1004 | this.SetPrimPacketShapeData(objupdate, primShape); |
1005 | 1005 | ||
1006 | return objupdate; | 1006 | return objupdate; |
1007 | } | 1007 | } |
@@ -1040,7 +1040,7 @@ namespace OpenSim.Region.ClientStack | |||
1040 | objectData.PathTwistBegin = primData.PathTwistBegin; | 1040 | objectData.PathTwistBegin = primData.PathTwistBegin; |
1041 | } | 1041 | } |
1042 | 1042 | ||
1043 | protected void SetPrimPacketShapeData(ObjectUpdatePacket.ObjectDataBlock objectData, PrimitiveBaseShape primData, LLUUID textureID) | 1043 | protected void SetPrimPacketShapeData(ObjectUpdatePacket.ObjectDataBlock objectData, PrimitiveBaseShape primData) |
1044 | { | 1044 | { |
1045 | 1045 | ||
1046 | objectData.TextureEntry = primData.TextureEntry; | 1046 | objectData.TextureEntry = primData.TextureEntry; |