diff options
author | lbsa71 | 2007-10-30 09:05:31 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-30 09:05:31 +0000 |
commit | 67e12b95ea7b68f4904a7484d77ecfd787d16d0c (patch) | |
tree | 20b00d24c8a7617017960432ec044852e3ad5fa9 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | * Deleted .user file (diff) | |
download | opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.zip opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.gz opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.bz2 opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.xz |
* Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 68591d4..a0c9a50 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -29,9 +29,8 @@ | |||
29 | using Axiom.Math; | 29 | using Axiom.Math; |
30 | using libsecondlife; | 30 | using libsecondlife; |
31 | using libsecondlife.Packets; | 31 | using libsecondlife.Packets; |
32 | using OpenSim.Framework.Communications.Cache; | ||
33 | using OpenSim.Framework.Interfaces; | ||
34 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | using OpenSim.Framework.Communications.Cache; | ||
35 | using OpenSim.Region.Physics.Manager; | 34 | using OpenSim.Region.Physics.Manager; |
36 | 35 | ||
37 | namespace OpenSim.Region.Environment.Scenes | 36 | namespace OpenSim.Region.Environment.Scenes |
@@ -45,7 +44,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
45 | { | 44 | { |
46 | ScenePresence avatar; | 45 | ScenePresence avatar; |
47 | 46 | ||
48 | if ( TryGetAvatar( avatarId, out avatar )) | 47 | if (TryGetAvatar(avatarId, out avatar)) |
49 | { | 48 | { |
50 | AddInventoryItem(avatar.ControllingClient, item); | 49 | AddInventoryItem(avatar.ControllingClient, item); |
51 | } | 50 | } |
@@ -392,7 +391,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
392 | remoteClient.SendInventoryItemUpdate(item); | 391 | remoteClient.SendInventoryItemUpdate(item); |
393 | } | 392 | } |
394 | 393 | ||
395 | DeleteSceneObjectGroup((SceneObjectGroup)selectedEnt); | 394 | DeleteSceneObjectGroup((SceneObjectGroup) selectedEnt); |
396 | } | 395 | } |
397 | } | 396 | } |
398 | } | 397 | } |
@@ -471,4 +470,4 @@ namespace OpenSim.Region.Environment.Scenes | |||
471 | } | 470 | } |
472 | } | 471 | } |
473 | } | 472 | } |
474 | } | 473 | } \ No newline at end of file |