diff options
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 '')
-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 | ||