aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 94de013..aac96d1 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -238,6 +238,7 @@ namespace OpenSim.Region.ClientStack
238 private ScriptAnswer handlerScriptAnswer = null; 238 private ScriptAnswer handlerScriptAnswer = null;
239 private RequestPayPrice handlerRequestPayPrice = null; 239 private RequestPayPrice handlerRequestPayPrice = null;
240 private ObjectDeselect handlerObjectDetach = null; 240 private ObjectDeselect handlerObjectDetach = null;
241 private AgentSit handlerOnUndo = null;
241 242
242 /* Properties */ 243 /* Properties */
243 244
@@ -799,6 +800,7 @@ namespace OpenSim.Region.ClientStack
799 800
800 public event ScriptAnswer OnScriptAnswer; 801 public event ScriptAnswer OnScriptAnswer;
801 public event RequestPayPrice OnRequestPayPrice; 802 public event RequestPayPrice OnRequestPayPrice;
803 public event AgentSit OnUndo;
802 804
803 #region Scene/Avatar to Client 805 #region Scene/Avatar to Client
804 806
@@ -3884,6 +3886,23 @@ namespace OpenSim.Region.ClientStack
3884 // That means multiple object perms may be updated in a single packet. 3886 // That means multiple object perms may be updated in a single packet.
3885 3887
3886 break; 3888 break;
3889
3890 case PacketType.Undo:
3891 UndoPacket undoitem = (UndoPacket)Pack;
3892 if (undoitem.ObjectData.Length > 0)
3893 {
3894 for (int i = 0; i < undoitem.ObjectData.Length; i++)
3895 {
3896 LLUUID objiD = undoitem.ObjectData[i].ObjectID;
3897 handlerOnUndo = OnUndo;
3898 if (handlerOnUndo != null)
3899 {
3900 handlerOnUndo(this, objiD);
3901 }
3902
3903 }
3904 }
3905 break;
3887 case PacketType.ObjectDuplicateOnRay: 3906 case PacketType.ObjectDuplicateOnRay:
3888 ObjectDuplicateOnRayPacket dupeOnRay = (ObjectDuplicateOnRayPacket)Pack; 3907 ObjectDuplicateOnRayPacket dupeOnRay = (ObjectDuplicateOnRayPacket)Pack;
3889 3908