* refactor: change some method names and doc in the physics plugin manager

* move the directory choice for plugins outside into RegionApplicationBase
This commit is contained in:
Justin Clarke Casey
2008-11-20 19:52:55 +00:00
parent d625095959
commit b9c07730f5
3 changed files with 17 additions and 15 deletions

View File

@@ -26,6 +26,7 @@
*/
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using OpenMetaverse;
@@ -102,7 +103,8 @@ namespace OpenSim.Region.ClientStack
{
PhysicsPluginManager physicsPluginManager;
physicsPluginManager = new PhysicsPluginManager();
physicsPluginManager.LoadPlugins();
physicsPluginManager.LoadPluginsFromAssemblies("Physics");
return physicsPluginManager.GetPhysicsScene(engine, meshEngine, config);
}