Merge branch 'master' into casper
commit
a964431c21
|
@ -87,7 +87,10 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
|
||||||
|
|
||||||
foreach (IMonitor monitor in m_monitors)
|
foreach (IMonitor monitor in m_monitors)
|
||||||
{
|
{
|
||||||
if (monitor.ToString() == monID)
|
string elemName = monitor.ToString();
|
||||||
|
if (elemName.StartsWith(monitor.GetType().Namespace))
|
||||||
|
elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1);
|
||||||
|
if (elemName == monID || monitor.ToString() == monID)
|
||||||
{
|
{
|
||||||
Hashtable ereply3 = new Hashtable();
|
Hashtable ereply3 = new Hashtable();
|
||||||
|
|
||||||
|
@ -112,7 +115,11 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
|
||||||
string xml = "<data>";
|
string xml = "<data>";
|
||||||
foreach (IMonitor monitor in m_monitors)
|
foreach (IMonitor monitor in m_monitors)
|
||||||
{
|
{
|
||||||
xml += "<" + monitor.ToString() + ">" + monitor.GetValue() + "</" + monitor.ToString() + ">";
|
string elemName = monitor.ToString();
|
||||||
|
if (elemName.StartsWith(monitor.GetType().Namespace))
|
||||||
|
elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1);
|
||||||
|
|
||||||
|
xml += "<" + elemName + ">" + monitor.GetValue() + "</" + elemName + ">";
|
||||||
}
|
}
|
||||||
xml += "</data>";
|
xml += "</data>";
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
private int m_lastLandLocalID = LandChannel.START_LAND_LOCAL_ID - 1;
|
private int m_lastLandLocalID = LandChannel.START_LAND_LOCAL_ID - 1;
|
||||||
|
|
||||||
private bool m_allowedForcefulBans = true;
|
private bool m_allowedForcefulBans = true;
|
||||||
private string DefaultGodParcelGroup;
|
private UUID DefaultGodParcelGroup;
|
||||||
private string DefaultGodParcelName;
|
private string DefaultGodParcelName;
|
||||||
|
|
||||||
// caches ExtendedLandData
|
// caches ExtendedLandData
|
||||||
|
@ -96,6 +96,12 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
|
|
||||||
public void Initialise(IConfigSource source)
|
public void Initialise(IConfigSource source)
|
||||||
{
|
{
|
||||||
|
IConfig cnf = source.Configs["LandManagement"];
|
||||||
|
if (cnf == null)
|
||||||
|
{
|
||||||
|
DefaultGodParcelGroup = new UUID(cnf.GetString("DefaultAdministratorGroupUUID", UUID.Zero.ToString()));
|
||||||
|
DefaultGodParcelName = cnf.GetString("DefaultAdministratorParcelName", "Default Parcel");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddRegion(Scene scene)
|
public void AddRegion(Scene scene)
|
||||||
|
@ -1566,7 +1572,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
land = landObject;
|
land = landObject;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
land.DeedToGroup(new UUID(DefaultGodParcelGroup));
|
land.DeedToGroup(DefaultGodParcelGroup);
|
||||||
land.LandData.Name = DefaultGodParcelName;
|
land.LandData.Name = DefaultGodParcelName;
|
||||||
land.SendLandUpdateToAvatarsOverMe();
|
land.SendLandUpdateToAvatarsOverMe();
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ namespace OpenSim.Server.Handlers.Asset
|
||||||
|
|
||||||
if (p.Length > 0)
|
if (p.Length > 0)
|
||||||
{
|
{
|
||||||
result = m_AssetService.Delete(p[0]);
|
// result = m_AssetService.Delete(p[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
XmlSerializer xs = new XmlSerializer(typeof(bool));
|
XmlSerializer xs = new XmlSerializer(typeof(bool));
|
||||||
|
|
|
@ -1351,6 +1351,9 @@
|
||||||
; For example- http://127.0.0.1:9000/SStats/
|
; For example- http://127.0.0.1:9000/SStats/
|
||||||
; enabled=false
|
; enabled=false
|
||||||
|
|
||||||
|
[LandManagement]
|
||||||
|
; DefaultAdministratorGroupUUID = "";
|
||||||
|
; DefaultAdministratorParcelName = "";
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; These are defaults that are overwritten below in [Architecture].
|
;; These are defaults that are overwritten below in [Architecture].
|
||||||
|
|
Loading…
Reference in New Issue