diff options
author | MW | 2009-02-26 22:14:24 +0000 |
---|---|---|
committer | MW | 2009-02-26 22:14:24 +0000 |
commit | faca2a7ddc1a3d1131c536f90afe627426c3962c (patch) | |
tree | 09ae40014a353414c41bbdf38866304d3034b42a | |
parent | Changed CreateCommsManagerPlugin so it handles external subclasses of OpenSim... (diff) | |
download | opensim-SC-faca2a7ddc1a3d1131c536f90afe627426c3962c.zip opensim-SC-faca2a7ddc1a3d1131c536f90afe627426c3962c.tar.gz opensim-SC-faca2a7ddc1a3d1131c536f90afe627426c3962c.tar.bz2 opensim-SC-faca2a7ddc1a3d1131c536f90afe627426c3962c.tar.xz |
Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager.
-rw-r--r-- | OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index d99de7a..0633e63 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | |||
@@ -114,8 +114,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
114 | private void InitialiseCommsManager(OpenSimBase openSim) | 114 | private void InitialiseCommsManager(OpenSimBase openSim) |
115 | { | 115 | { |
116 | LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile); | 116 | LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile); |
117 | bool hgrid = m_openSim.ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false); | ||
117 | 118 | ||
118 | if (openSim is HGOpenSimNode) | 119 | if (hgrid) |
119 | { | 120 | { |
120 | HGOpenSimNode hgNode = (HGOpenSimNode)openSim; | 121 | HGOpenSimNode hgNode = (HGOpenSimNode)openSim; |
121 | 122 | ||