diff options
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 | } |