diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 61d10c9..40a9fcf 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -28,18 +28,16 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Drawing; | 30 | using System.Drawing; |
31 | using System.Runtime.Serialization; | ||
32 | using System.Security.Permissions; | ||
31 | using System.Xml; | 33 | using System.Xml; |
32 | using System.Xml.Serialization; | 34 | using System.Xml.Serialization; |
33 | using Axiom.Math; | 35 | using Axiom.Math; |
34 | using libsecondlife; | 36 | using libsecondlife; |
35 | using libsecondlife.Packets; | 37 | using libsecondlife.Packets; |
36 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Console; | ||
38 | using OpenSim.Region.Environment.Interfaces; | ||
39 | using OpenSim.Region.Environment.Scenes.Scripting; | 39 | using OpenSim.Region.Environment.Scenes.Scripting; |
40 | using OpenSim.Region.Physics.Manager; | 40 | using OpenSim.Region.Physics.Manager; |
41 | using System.Runtime.Serialization; | ||
42 | using System.Security.Permissions; | ||
43 | 41 | ||
44 | namespace OpenSim.Region.Environment.Scenes | 42 | namespace OpenSim.Region.Environment.Scenes |
45 | { | 43 | { |
@@ -324,7 +322,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
324 | ParentGroup.ResetChildPrimPhysicsPositions(); | 322 | ParentGroup.ResetChildPrimPhysicsPositions(); |
325 | 323 | ||
326 | } | 324 | } |
327 | catch (System.NullReferenceException) | 325 | catch (NullReferenceException) |
328 | { | 326 | { |
329 | // Ignore, and skip over. | 327 | // Ignore, and skip over. |
330 | } | 328 | } |
@@ -2326,7 +2324,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2326 | 2324 | ||
2327 | if (info == null) | 2325 | if (info == null) |
2328 | { | 2326 | { |
2329 | throw new System.ArgumentNullException("info"); | 2327 | throw new ArgumentNullException("info"); |
2330 | } | 2328 | } |
2331 | 2329 | ||
2332 | /* | 2330 | /* |
@@ -2344,7 +2342,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2344 | { | 2342 | { |
2345 | if (info == null) | 2343 | if (info == null) |
2346 | { | 2344 | { |
2347 | throw new System.ArgumentNullException("info"); | 2345 | throw new ArgumentNullException("info"); |
2348 | } | 2346 | } |
2349 | 2347 | ||
2350 | info.AddValue("m_inventoryFileName", m_inventoryFileName); | 2348 | info.AddValue("m_inventoryFileName", m_inventoryFileName); |