diff options
author | Justin Clarke Casey | 2008-11-20 19:52:55 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-20 19:52:55 +0000 |
commit | b9c07730f5216e8baa61185437cc5023d8c70200 (patch) | |
tree | 2da8bfe0144f3b29a056ed76edc223106ad3ca39 /OpenSim/Region/ClientStack/RegionApplicationBase.cs | |
parent | * Allow physics dlls to be loaded separately, rather than just the contents o... (diff) | |
download | opensim-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.cs | 4 |
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 | ||
28 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using System.IO; | ||
29 | using System.Net; | 30 | using System.Net; |
30 | using System.Reflection; | 31 | using System.Reflection; |
31 | using OpenMetaverse; | 32 | using 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 | ||