diff options
author | MW | 2007-11-17 12:03:20 +0000 |
---|---|---|
committer | MW | 2007-11-17 12:03:20 +0000 |
commit | a4a1ff3d9b187dd4fad063510ae47bacac6904cd (patch) | |
tree | a7d51dcedbc14c835e0595c4e2e8d9fe900783ff /OpenSim/Region/ClientStack | |
parent | Out of a fog of alcohol and adenovirus, I present - POS! (diff) | |
download | opensim-SC_OLD-a4a1ff3d9b187dd4fad063510ae47bacac6904cd.zip opensim-SC_OLD-a4a1ff3d9b187dd4fad063510ae47bacac6904cd.tar.gz opensim-SC_OLD-a4a1ff3d9b187dd4fad063510ae47bacac6904cd.tar.bz2 opensim-SC_OLD-a4a1ff3d9b187dd4fad063510ae47bacac6904cd.tar.xz |
Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index f0ebf03..6f15c44 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -1031,7 +1031,7 @@ namespace OpenSim.Region.ClientStack | |||
1031 | public void SendPrimitiveToClient( | 1031 | public void SendPrimitiveToClient( |
1032 | ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, | 1032 | ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, |
1033 | uint flags, | 1033 | uint flags, |
1034 | LLUUID objectID, LLUUID ownerID, string text, byte[] color, uint parentID, byte[] particleSystem, LLQuaternion rotation) | 1034 | LLUUID objectID, LLUUID ownerID, string text, byte[] color, uint parentID, byte[] particleSystem, LLQuaternion rotation, byte clickAction) |
1035 | { | 1035 | { |
1036 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); | 1036 | ObjectUpdatePacket outPacket = new ObjectUpdatePacket(); |
1037 | outPacket.RegionData.RegionHandle = regionHandle; | 1037 | outPacket.RegionData.RegionHandle = regionHandle; |
@@ -1050,7 +1050,7 @@ namespace OpenSim.Region.ClientStack | |||
1050 | outPacket.ObjectData[0].TextColor[3] = color[3]; | 1050 | outPacket.ObjectData[0].TextColor[3] = color[3]; |
1051 | outPacket.ObjectData[0].ParentID = parentID; | 1051 | outPacket.ObjectData[0].ParentID = parentID; |
1052 | outPacket.ObjectData[0].PSBlock = particleSystem; | 1052 | outPacket.ObjectData[0].PSBlock = particleSystem; |
1053 | outPacket.ObjectData[0].ClickAction = 0; | 1053 | outPacket.ObjectData[0].ClickAction = clickAction; |
1054 | //outPacket.ObjectData[0].Flags = 0; | 1054 | //outPacket.ObjectData[0].Flags = 0; |
1055 | outPacket.ObjectData[0].Radius = 20; | 1055 | outPacket.ObjectData[0].Radius = 20; |
1056 | 1056 | ||