aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/ModuleLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs33
1 files changed, 2 insertions, 31 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs
index b24b651..5c3eefc 100644
--- a/OpenSim/Region/Environment/ModuleLoader.cs
+++ b/OpenSim/Region/Environment/ModuleLoader.cs
@@ -22,37 +22,8 @@ namespace OpenSim.Region.Environment
22 m_log = log; 22 m_log = log;
23 } 23 }
24 24
25 /// <summary> 25 public void PickupModules(Scene scene, string moduleDir)
26 /// Should have a module factory?
27 /// </summary>
28 /// <param name="scene"></param>
29 //public void CreateDefaultModules(Scene scene, string exceptModules)
30 //{
31 // IRegionModule module = new XferModule();
32 // InitializeModule(module, scene);
33
34 // module = new ChatModule();
35 // InitializeModule(module, scene);
36
37 // module = new AvatarProfilesModule();
38 // InitializeModule(module, scene);
39
40 // module = new XMLRPCModule();
41 // InitializeModule(module, scene);
42
43 // module = new WorldCommModule();
44 // InitializeModule(module, scene);
45
46 // LoadRegionModule("OpenSim.Region.ExtensionsScriptModule.dll", "ExtensionsScriptingModule", scene);
47
48 // string lslPath = Path.Combine("ScriptEngines", "OpenSim.Region.ScriptEngine.DotNetEngine.dll");
49 // LoadRegionModule(lslPath, "LSLScriptingModule", scene);
50 //}
51
52 public void PickupModules(Scene scene)
53 { 26 {
54 string moduleDir = ".";
55
56 DirectoryInfo dir = new DirectoryInfo(moduleDir); 27 DirectoryInfo dir = new DirectoryInfo(moduleDir);
57 28
58 foreach (FileInfo fileInfo in dir.GetFiles("*.dll")) 29 foreach (FileInfo fileInfo in dir.GetFiles("*.dll"))
@@ -61,7 +32,7 @@ namespace OpenSim.Region.Environment
61 } 32 }
62 } 33 }
63 34
64 public void LoadDefaultSharedModules(string exceptModules) 35 public void LoadDefaultSharedModules()
65 { 36 {
66 DynamicTextureModule dynamicModule = new DynamicTextureModule(); 37 DynamicTextureModule dynamicModule = new DynamicTextureModule();
67 LoadedSharedModules.Add(dynamicModule.Name, dynamicModule); 38 LoadedSharedModules.Add(dynamicModule.Name, dynamicModule);