Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager.
parent
4f072a0876
commit
faca2a7ddc
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue