aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorMelanie2011-07-23 11:39:32 +0100
committerMelanie2011-07-23 11:39:32 +0100
commit96174595da269f50d37c88c213ad00b79a7c7c83 (patch)
tree59655d3f8d0681ef77c1d939480edb2e3765e66d /OpenSim/Region/ClientStack/Linden/UDP
parentFix merge artefact (diff)
downloadopensim-SC-96174595da269f50d37c88c213ad00b79a7c7c83.zip
opensim-SC-96174595da269f50d37c88c213ad00b79a7c7c83.tar.gz
opensim-SC-96174595da269f50d37c88c213ad00b79a7c7c83.tar.bz2
opensim-SC-96174595da269f50d37c88c213ad00b79a7c7c83.tar.xz
Fix LLTextBox to work with the updated libOMV
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs7
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 99552f1..d5419cc 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -12129,7 +12129,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12129 OutPacket(packet, ThrottleOutPacketType.Task); 12129 OutPacket(packet, ThrottleOutPacketType.Task);
12130 } 12130 }
12131 12131
12132 public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId) 12132 public void SendTextBoxRequest(string message, int chatChannel, string objectname, UUID ownerID, string ownerFirstName, string ownerLastName, UUID objectId)
12133 { 12133 {
12134 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog); 12134 ScriptDialogPacket dialog = (ScriptDialogPacket)PacketPool.Instance.GetPacket(PacketType.ScriptDialog);
12135 dialog.Data.ObjectID = objectId; 12135 dialog.Data.ObjectID = objectId;
@@ -12145,6 +12145,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12145 buttons[0] = new ScriptDialogPacket.ButtonsBlock(); 12145 buttons[0] = new ScriptDialogPacket.ButtonsBlock();
12146 buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!"); 12146 buttons[0].ButtonLabel = Util.StringToBytes256("!!llTextBox!!");
12147 dialog.Buttons = buttons; 12147 dialog.Buttons = buttons;
12148
12149 dialog.OwnerData = new ScriptDialogPacket.OwnerDataBlock[1];
12150 dialog.OwnerData[0] = new ScriptDialogPacket.OwnerDataBlock();
12151 dialog.OwnerData[0].OwnerID = ownerID;
12152
12148 OutPacket(dialog, ThrottleOutPacketType.Task); 12153 OutPacket(dialog, ThrottleOutPacketType.Task);
12149 } 12154 }
12150 12155