Mantis#1877. Thank you kindly, Sache Magne for a patch that:
This patch allows the operator to see the region currently served. A message "Serving region : xxxxx" appears under help or any show commands.0.6.0-stable
parent
4cf4774b3e
commit
dba4d357c8
|
@ -132,6 +132,13 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private string GetActualSimName()
|
||||||
|
{
|
||||||
|
if (m_sceneManager.CurrentScene == null) return "Root";
|
||||||
|
return m_sceneManager.CurrentScene.RegionInfo.RegionName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#region Console Commands
|
#region Console Commands
|
||||||
|
|
||||||
private void RunEchoTest(string[] cmdparams)
|
private void RunEchoTest(string[] cmdparams)
|
||||||
|
@ -284,8 +291,10 @@ namespace OpenSim
|
||||||
m_console.Notice("create user - adds a new user.");
|
m_console.Notice("create user - adds a new user.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
m_console.Notice("");
|
||||||
|
m_console.Notice("Serving region " + GetActualSimName());
|
||||||
m_console.Notice("");
|
m_console.Notice("");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "save-xml":
|
case "save-xml":
|
||||||
|
@ -665,6 +674,9 @@ namespace OpenSim
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
m_console.Notice("");
|
||||||
|
m_console.Notice("Serving region " + GetActualSimName());
|
||||||
|
m_console.Notice("");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue