diff options
author | mingchen | 2007-07-15 21:02:13 +0000 |
---|---|---|
committer | mingchen | 2007-07-15 21:02:13 +0000 |
commit | 6510aea0ed33134c09d25be690a69e1fff4a3282 (patch) | |
tree | 977e759a9ae61b788439e68ce01bd94dfae4c1fc /OpenSim/Region/ClientStack | |
parent | * Primitives are now loaded from Datastore during scene initialisation. (diff) | |
download | opensim-SC_OLD-6510aea0ed33134c09d25be690a69e1fff4a3282.zip opensim-SC_OLD-6510aea0ed33134c09d25be690a69e1fff4a3282.tar.gz opensim-SC_OLD-6510aea0ed33134c09d25be690a69e1fff4a3282.tar.bz2 opensim-SC_OLD-6510aea0ed33134c09d25be690a69e1fff4a3282.tar.xz |
*Added support for the "show" button that highlights objects over the selected Objects
*Known bug, client does some weird "showing" when more than 255 objects are meant to be selected (linked objects count as one object)
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientViewBase.cs | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 5458795..cf0e294 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -84,6 +84,7 @@ namespace OpenSim.Region.ClientStack | |||
84 | public event ParcelDivideRequest OnParcelDivideRequest; | 84 | public event ParcelDivideRequest OnParcelDivideRequest; |
85 | public event ParcelJoinRequest OnParcelJoinRequest; | 85 | public event ParcelJoinRequest OnParcelJoinRequest; |
86 | public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; | 86 | public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; |
87 | public event ParcelSelectObjects OnParcelSelectObjects; | ||
87 | 88 | ||
88 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; | 89 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; |
89 | 90 | ||
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 169f2c4..37591d9 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -594,6 +594,13 @@ namespace OpenSim.Region.ClientStack | |||
594 | 594 | ||
595 | } | 595 | } |
596 | break; | 596 | break; |
597 | case PacketType.ParcelSelectObjects: | ||
598 | ParcelSelectObjectsPacket selectPacket = (ParcelSelectObjectsPacket)Pack; | ||
599 | if (OnParcelSelectObjects != null) | ||
600 | { | ||
601 | OnParcelSelectObjects(selectPacket.ParcelData.LocalID, Convert.ToInt32(selectPacket.ParcelData.ReturnType), this); | ||
602 | } | ||
603 | break; | ||
597 | #endregion | 604 | #endregion |
598 | 605 | ||
599 | #region Estate Packets | 606 | #region Estate Packets |
diff --git a/OpenSim/Region/ClientStack/ClientViewBase.cs b/OpenSim/Region/ClientStack/ClientViewBase.cs index 2bc3ed8..cc04bda 100644 --- a/OpenSim/Region/ClientStack/ClientViewBase.cs +++ b/OpenSim/Region/ClientStack/ClientViewBase.cs | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | /* | 1 | /* |
3 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | 2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ |
4 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |