aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/RegionApplicationBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-20 19:52:55 +0000
committerJustin Clarke Casey2008-11-20 19:52:55 +0000
commitb9c07730f5216e8baa61185437cc5023d8c70200 (patch)
tree2da8bfe0144f3b29a056ed76edc223106ad3ca39 /OpenSim/Region/ClientStack/RegionApplicationBase.cs
parent* Allow physics dlls to be loaded separately, rather than just the contents o... (diff)
downloadopensim-SC_OLD-b9c07730f5216e8baa61185437cc5023d8c70200.zip
opensim-SC_OLD-b9c07730f5216e8baa61185437cc5023d8c70200.tar.gz
opensim-SC_OLD-b9c07730f5216e8baa61185437cc5023d8c70200.tar.bz2
opensim-SC_OLD-b9c07730f5216e8baa61185437cc5023d8c70200.tar.xz
* refactor: change some method names and doc in the physics plugin manager
* move the directory choice for plugins outside into RegionApplicationBase
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index cac4591..61edae5 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System.Collections.Generic; 28using System.Collections.Generic;
29using System.IO;
29using System.Net; 30using System.Net;
30using System.Reflection; 31using System.Reflection;
31using OpenMetaverse; 32using OpenMetaverse;
@@ -102,7 +103,8 @@ namespace OpenSim.Region.ClientStack
102 { 103 {
103 PhysicsPluginManager physicsPluginManager; 104 PhysicsPluginManager physicsPluginManager;
104 physicsPluginManager = new PhysicsPluginManager(); 105 physicsPluginManager = new PhysicsPluginManager();
105 physicsPluginManager.LoadPlugins(); 106 physicsPluginManager.LoadPluginsFromAssemblies("Physics");
107
106 return physicsPluginManager.GetPhysicsScene(engine, meshEngine, config); 108 return physicsPluginManager.GetPhysicsScene(engine, meshEngine, config);
107 } 109 }
108 110