diff options
author | Melanie | 2011-07-23 11:39:32 +0100 |
---|---|---|
committer | Melanie | 2011-07-23 11:40:38 +0100 |
commit | 4cdc8806fbc0d0d9b0ff878b30a4491b347cf2dc (patch) | |
tree | b377f9c359f09186a3cc40475cfbfde7c5b491f7 /OpenSim/Region/ClientStack | |
parent | Pass the first name and last name from the agent circuit data to the authoriz... (diff) | |
download | opensim-SC_OLD-4cdc8806fbc0d0d9b0ff878b30a4491b347cf2dc.zip opensim-SC_OLD-4cdc8806fbc0d0d9b0ff878b30a4491b347cf2dc.tar.gz opensim-SC_OLD-4cdc8806fbc0d0d9b0ff878b30a4491b347cf2dc.tar.bz2 opensim-SC_OLD-4cdc8806fbc0d0d9b0ff878b30a4491b347cf2dc.tar.xz |
Fix LLTextBox to work with the updated libOMV
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index a34ad62..60f0075 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12083,7 +12083,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12083 | OutPacket(packet, ThrottleOutPacketType.Task); | 12083 | OutPacket(packet, ThrottleOutPacketType.Task); |
12084 | } | 12084 | } |
12085 | 12085 | ||
12086 | public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId) | 12086 | public void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId) |
12087 | { | 12087 | { |
12088 | ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog); | 12088 | ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog); |
12089 | dialog.Data.ObjectID = objectId; | 12089 | dialog.Data.ObjectID = objectId; |
@@ -12099,6 +12099,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12099 | buttons[0] = new ScriptDialogPacket.ButtonsBlock(); | 12099 | buttons[0] = new ScriptDialogPacket.ButtonsBlock(); |
12100 | buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!"); | 12100 | buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!"); |
12101 | dialog.Buttons = buttons; | 12101 | dialog.Buttons = buttons; |
12102 | |||
12103 | dialog.OwnerData = new ScriptDialogPacket.OwnerDataBlock[1]; | ||
12104 | dialog.OwnerData[0] = new ScriptDialogPacket.OwnerDataBlock(); | ||
12105 | dialog.OwnerData[0].OwnerID = ownerID; | ||
12106 | |||
12102 | OutPacket(dialog, ThrottleOutPacketType.Task); | 12107 | OutPacket(dialog, ThrottleOutPacketType.Task); |
12103 | } | 12108 | } |
12104 | 12109 | ||