Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager.

GenericGridServerConcept
MW 2009-02-26 22:14:24 +00:00
parent 4f072a0876
commit faca2a7ddc
1 changed files with 2 additions and 1 deletions

View File

@ -114,8 +114,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
private void InitialiseCommsManager(OpenSimBase openSim) private void InitialiseCommsManager(OpenSimBase openSim)
{ {
LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile); LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile);
bool hgrid = m_openSim.ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false);
if (openSim is HGOpenSimNode) if (hgrid)
{ {
HGOpenSimNode hgNode = (HGOpenSimNode)openSim; HGOpenSimNode hgNode = (HGOpenSimNode)openSim;