aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/SimulatorServices
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/SimulatorServices')
-rw-r--r--OpenSim/SimulatorServices/RegionAssetService.cs4
-rw-r--r--OpenSim/SimulatorServices/Resources/SimulatorServices.addin.xml14
2 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/SimulatorServices/RegionAssetService.cs b/OpenSim/SimulatorServices/RegionAssetService.cs
index 06f42d3..a9080f7 100644
--- a/OpenSim/SimulatorServices/RegionAssetService.cs
+++ b/OpenSim/SimulatorServices/RegionAssetService.cs
@@ -37,7 +37,7 @@ using OpenSim.Region.Framework.Interfaces;
37using OpenSim.Server.Base; 37using OpenSim.Server.Base;
38using OpenSim.Server.Handlers.Base; 38using OpenSim.Server.Handlers.Base;
39 39
40namespace OpenSim.Region.SimulatorServices 40namespace OpenSim.SimulatorServices
41{ 41{
42 public class RegionAssetService : ISharedRegionModule 42 public class RegionAssetService : ISharedRegionModule
43 { 43 {
@@ -55,6 +55,8 @@ namespace OpenSim.Region.SimulatorServices
55 enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) && 55 enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
56 config.Configs["Startup"].GetBoolean("hypergrid", true)) || 56 config.Configs["Startup"].GetBoolean("hypergrid", true)) ||
57 ((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true)); 57 ((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true));
58 m_log.DebugFormat("[RegionAssetService]: enabled? {0}", enabled);
59 m_Config = config;
58 } 60 }
59 61
60 public void PostInitialise() 62 public void PostInitialise()
diff --git a/OpenSim/SimulatorServices/Resources/SimulatorServices.addin.xml b/OpenSim/SimulatorServices/Resources/SimulatorServices.addin.xml
new file mode 100644
index 0000000..accc467
--- /dev/null
+++ b/OpenSim/SimulatorServices/Resources/SimulatorServices.addin.xml
@@ -0,0 +1,14 @@
1<Addin id="OpenSim.SimulatorServices" version="0.2">
2 <Runtime>
3 <Import assembly="OpenSim.SimulatorServices.dll"/>
4 </Runtime>
5
6 <Dependencies>
7 <Addin id="OpenSim" version="0.5" />
8 </Dependencies>
9
10 <Extension path = "/OpenSim/RegionModules">
11 <RegionModule id="RegionAssetService" type="OpenSim.SimulatorServices.RegionAssetService" />
12 </Extension>
13
14</Addin>