diff options
author | lbsa71 | 2007-12-27 21:41:48 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-27 21:41:48 +0000 |
commit | efd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch) | |
tree | bf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | |
parent | * removed always true if (diff) | |
download | opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2 opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz |
* Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs index badcc04..a4ac54f 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | |||
@@ -30,7 +30,6 @@ using System.Collections.Generic; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
33 | using Nini.Config; | ||
34 | 33 | ||
35 | namespace OpenSim.Region.Physics.Manager | 34 | namespace OpenSim.Region.Physics.Manager |
36 | { | 35 | { |
@@ -91,7 +90,7 @@ namespace OpenSim.Region.Physics.Manager | |||
91 | plugHard = new ZeroMesherPlugin(); | 90 | plugHard = new ZeroMesherPlugin(); |
92 | _MeshPlugins.Add(plugHard.GetName(), plugHard); | 91 | _MeshPlugins.Add(plugHard.GetName(), plugHard); |
93 | MainLog.Instance.Verbose("PHYSICS", "Added meshing engine: " + plugHard.GetName()); | 92 | MainLog.Instance.Verbose("PHYSICS", "Added meshing engine: " + plugHard.GetName()); |
94 | 93 | ||
95 | // And now walk all assemblies (DLLs effectively) and see if they are home | 94 | // And now walk all assemblies (DLLs effectively) and see if they are home |
96 | // of a plugin that is of interest for us | 95 | // of a plugin that is of interest for us |
97 | string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Physics"); | 96 | string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Physics"); |
@@ -129,7 +128,7 @@ namespace OpenSim.Region.Physics.Manager | |||
129 | if (meshTypeInterface != null) | 128 | if (meshTypeInterface != null) |
130 | { | 129 | { |
131 | IMeshingPlugin plug = | 130 | IMeshingPlugin plug = |
132 | (IMeshingPlugin)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 131 | (IMeshingPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
133 | _MeshPlugins.Add(plug.GetName(), plug); | 132 | _MeshPlugins.Add(plug.GetName(), plug); |
134 | MainLog.Instance.Verbose("PHYSICS", "Added meshing engine: " + plug.GetName()); | 133 | MainLog.Instance.Verbose("PHYSICS", "Added meshing engine: " + plug.GetName()); |
135 | } | 134 | } |
@@ -155,6 +154,7 @@ namespace OpenSim.Region.Physics.Manager | |||
155 | MainLog.Instance.Verbose("PHYSICS", message); | 154 | MainLog.Instance.Verbose("PHYSICS", message); |
156 | } | 155 | } |
157 | } | 156 | } |
157 | |||
158 | //--- | 158 | //--- |
159 | } | 159 | } |
160 | 160 | ||
@@ -171,4 +171,4 @@ namespace OpenSim.Region.Physics.Manager | |||
171 | string GetName(); | 171 | string GetName(); |
172 | IMesher GetMesher(); | 172 | IMesher GetMesher(); |
173 | } | 173 | } |
174 | } | 174 | } \ No newline at end of file |