If an instance contains only one region, select it in the console by default
parent
83347360c3
commit
c754160dee
|
@ -306,7 +306,10 @@ namespace OpenSim
|
||||||
PrintFileToConsole("startuplogo.txt");
|
PrintFileToConsole("startuplogo.txt");
|
||||||
|
|
||||||
// For now, start at the 'root' level by default
|
// For now, start at the 'root' level by default
|
||||||
ChangeSelectedRegion("region", new string[] {"change", "region", "root"});
|
if (m_sceneManager.Scenes.Count == 1) // If there is only one region, select it
|
||||||
|
ChangeSelectedRegion("region", new string[] {"change", "region", m_sceneManager.Scenes[0].RegionInfo.RegionName});
|
||||||
|
else
|
||||||
|
ChangeSelectedRegion("region", new string[] {"change", "region", "root"});
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void ShutdownSpecific()
|
public override void ShutdownSpecific()
|
||||||
|
|
Loading…
Reference in New Issue