aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
index c043363..024c910 100644
--- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
+++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs
@@ -34,6 +34,12 @@ using OpenSim.Framework;
34using OpenSim.Framework.RegionLoader.Filesystem; 34using OpenSim.Framework.RegionLoader.Filesystem;
35using OpenSim.Framework.RegionLoader.Web; 35using OpenSim.Framework.RegionLoader.Web;
36 36
37using OpenSim.Region.Environment.Modules.Scripting.DynamicTexture;
38using OpenSim.Region.Environment.Modules.Avatar.InstantMessage;
39using OpenSim.Region.Environment.Modules.Scripting.LoadImageURL;
40using OpenSim.Region.Environment.Modules.Scripting.XMLRPC;
41using OpenSim.Region.Environment.Modules.Agent.AssetTransaction;
42
37namespace OpenSim.ApplicationPlugins.LoadRegions 43namespace OpenSim.ApplicationPlugins.LoadRegions
38{ 44{
39 public class LoadRegionsPlugin : IApplicationPlugin 45 public class LoadRegionsPlugin : IApplicationPlugin
@@ -74,8 +80,11 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
74 regionLoader.SetIniConfigSource(openSim.ConfigSource.Source); 80 regionLoader.SetIniConfigSource(openSim.ConfigSource.Source);
75 RegionInfo[] regionsToLoad = regionLoader.LoadRegions(); 81 RegionInfo[] regionsToLoad = regionLoader.LoadRegions();
76 82
77 openSim.ModuleLoader.LoadDefaultSharedModules(); 83 openSim.ModuleLoader.LoadDefaultSharedModule(new DynamicTextureModule());
78 84 openSim.ModuleLoader.LoadDefaultSharedModule(new InstantMessageModule());
85 openSim.ModuleLoader.LoadDefaultSharedModule(new LoadImageURLModule());
86 openSim.ModuleLoader.LoadDefaultSharedModule(new XMLRPCModule());
87 openSim.ModuleLoader.LoadDefaultSharedModule(new AssetTransactionModule());
79 if (!CheckRegionsForSanity(regionsToLoad)) 88 if (!CheckRegionsForSanity(regionsToLoad))
80 { 89 {
81 m_log.Error("[LOADREGIONS]: Halting startup due to conflicts in region configurations"); 90 m_log.Error("[LOADREGIONS]: Halting startup due to conflicts in region configurations");