mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 19:35:41 +08:00
Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
This commit is contained in:
@@ -37,7 +37,7 @@ using OpenSim.Region.Framework.Interfaces;
|
||||
using OpenSim.Server.Base;
|
||||
using OpenSim.Server.Handlers.Base;
|
||||
|
||||
namespace OpenSim.Region.SimulatorServices
|
||||
namespace OpenSim.SimulatorServices
|
||||
{
|
||||
public class RegionAssetService : ISharedRegionModule
|
||||
{
|
||||
@@ -55,6 +55,8 @@ namespace OpenSim.Region.SimulatorServices
|
||||
enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
|
||||
config.Configs["Startup"].GetBoolean("hypergrid", true)) ||
|
||||
((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true));
|
||||
m_log.DebugFormat("[RegionAssetService]: enabled? {0}", enabled);
|
||||
m_Config = config;
|
||||
}
|
||||
|
||||
public void PostInitialise()
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<Addin id="OpenSim.SimulatorServices" version="0.2">
|
||||
<Runtime>
|
||||
<Import assembly="OpenSim.SimulatorServices.dll"/>
|
||||
</Runtime>
|
||||
|
||||
<Dependencies>
|
||||
<Addin id="OpenSim" version="0.5" />
|
||||
</Dependencies>
|
||||
|
||||
<Extension path = "/OpenSim/RegionModules">
|
||||
<RegionModule id="RegionAssetService" type="OpenSim.SimulatorServices.RegionAssetService" />
|
||||
</Extension>
|
||||
|
||||
</Addin>
|
||||
Reference in New Issue
Block a user