aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorJeff Ames2008-06-10 08:35:46 +0000
committerJeff Ames2008-06-10 08:35:46 +0000
commit5910a49da6e16d6e3718fffad73c8a24efcec80d (patch)
tree5f5852f643a77e72b45ad49af0538bdf0838b760 /OpenSim/Region/Physics/Manager
parent* This completes ObjectDuplicateOnRay. (diff)
downloadopensim-SC-5910a49da6e16d6e3718fffad73c8a24efcec80d.zip
opensim-SC-5910a49da6e16d6e3718fffad73c8a24efcec80d.tar.gz
opensim-SC-5910a49da6e16d6e3718fffad73c8a24efcec80d.tar.bz2
opensim-SC-5910a49da6e16d6e3718fffad73c8a24efcec80d.tar.xz
Update svn properties. Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
index 4927cc5..3d9207f 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
@@ -130,11 +130,11 @@ namespace OpenSim.Region.Physics.Manager
130 IPhysicsPlugin plug = 130 IPhysicsPlugin plug =
131 (IPhysicsPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); 131 (IPhysicsPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
132 plug.Init(); 132 plug.Init();
133 if(!_PhysPlugins.ContainsKey(plug.GetName())) 133 if (!_PhysPlugins.ContainsKey(plug.GetName()))
134 { 134 {
135 _PhysPlugins.Add(plug.GetName(), plug); 135 _PhysPlugins.Add(plug.GetName(), plug);
136 m_log.Info("[PHYSICS]: Added physics engine: " + plug.GetName()); 136 m_log.Info("[PHYSICS]: Added physics engine: " + plug.GetName());
137 } 137 }
138 } 138 }
139 139
140 Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin", true); 140 Type meshTypeInterface = pluginType.GetInterface("IMeshingPlugin", true);
@@ -143,11 +143,11 @@ namespace OpenSim.Region.Physics.Manager
143 { 143 {
144 IMeshingPlugin plug = 144 IMeshingPlugin plug =
145 (IMeshingPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); 145 (IMeshingPlugin) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
146 if(!_MeshPlugins.ContainsKey(plug.GetName())) 146 if (!_MeshPlugins.ContainsKey(plug.GetName()))
147 { 147 {
148 _MeshPlugins.Add(plug.GetName(), plug); 148 _MeshPlugins.Add(plug.GetName(), plug);
149 m_log.Info("[PHYSICS]: Added meshing engine: " + plug.GetName()); 149 m_log.Info("[PHYSICS]: Added meshing engine: " + plug.GetName());
150 } 150 }
151 } 151 }
152 152
153 physTypeInterface = null; 153 physTypeInterface = null;