diff options
author | mingchen | 2007-07-16 01:25:16 +0000 |
---|---|---|
committer | mingchen | 2007-07-16 01:25:16 +0000 |
commit | 7f10179129d4b5ac4ae5c05ff8598f569b8e6412 (patch) | |
tree | b5a6eac77699fd1857085aedcecf8732db7a0ebd /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |
parent | Couple of small changes to NPC test character. (diff) | |
download | opensim-SC_OLD-7f10179129d4b5ac4ae5c05ff8598f569b8e6412.zip opensim-SC_OLD-7f10179129d4b5ac4ae5c05ff8598f569b8e6412.tar.gz opensim-SC_OLD-7f10179129d4b5ac4ae5c05ff8598f569b8e6412.tar.bz2 opensim-SC_OLD-7f10179129d4b5ac4ae5c05ff8598f569b8e6412.tar.xz |
*Fixed bug that incorrectly tabulated 'others' prims on a parcel
*Added support for selected prims (does not yet support prims being sat on)
*Added support for listing avatars with prims on parcel with their prim count
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 6431bc7..347625a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -341,6 +341,29 @@ namespace OpenSim.Region.Environment.Scenes | |||
341 | if (((SceneObject)ent).rootLocalID == primLocalID) | 341 | if (((SceneObject)ent).rootLocalID == primLocalID) |
342 | { | 342 | { |
343 | ((SceneObject)ent).GetProperites(remoteClient); | 343 | ((SceneObject)ent).GetProperites(remoteClient); |
344 | ((SceneObject)ent).isSelected = true; | ||
345 | this.ParcelManager.setPrimsTainted(); | ||
346 | break; | ||
347 | } | ||
348 | } | ||
349 | } | ||
350 | } | ||
351 | |||
352 | /// <summary> | ||
353 | /// | ||
354 | /// </summary> | ||
355 | /// <param name="primLocalID"></param> | ||
356 | /// <param name="remoteClient"></param> | ||
357 | public void DeselectPrim(uint primLocalID, IClientAPI remoteClient) | ||
358 | { | ||
359 | foreach (EntityBase ent in Entities.Values) | ||
360 | { | ||
361 | if (ent is SceneObject) | ||
362 | { | ||
363 | if (((SceneObject)ent).rootLocalID == primLocalID) | ||
364 | { | ||
365 | ((SceneObject)ent).isSelected = false; | ||
366 | this.ParcelManager.setPrimsTainted(); | ||
344 | break; | 367 | break; |
345 | } | 368 | } |
346 | } | 369 | } |