From faca2a7ddc1a3d1131c536f90afe627426c3962c Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 26 Feb 2009 22:14:24 +0000 Subject: [PATCH] Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager. --- .../CreateCommsManager/CreateCommsManagerPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index d99de7a63c..0633e639c7 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs @@ -114,8 +114,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager private void InitialiseCommsManager(OpenSimBase openSim) { 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;