Merge branch 'master' into casper
						commit
						a964431c21
					
				|  | @ -87,7 +87,10 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
| 
 | ||||
|                 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(); | ||||
| 
 | ||||
|  | @ -112,7 +115,11 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
|             string xml = "<data>"; | ||||
|             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>"; | ||||
| 
 | ||||
|  |  | |||
|  | @ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
|         private int m_lastLandLocalID = LandChannel.START_LAND_LOCAL_ID - 1; | ||||
| 
 | ||||
|         private bool m_allowedForcefulBans = true; | ||||
|         private string DefaultGodParcelGroup; | ||||
|         private UUID DefaultGodParcelGroup; | ||||
|         private string DefaultGodParcelName; | ||||
| 
 | ||||
|         // caches ExtendedLandData | ||||
|  | @ -96,6 +96,12 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
| 
 | ||||
|         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) | ||||
|  | @ -1566,7 +1572,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
|                     land = landObject; | ||||
|                 } | ||||
|             } | ||||
|             land.DeedToGroup(new UUID(DefaultGodParcelGroup)); | ||||
|             land.DeedToGroup(DefaultGodParcelGroup); | ||||
|             land.LandData.Name = DefaultGodParcelName; | ||||
|             land.SendLandUpdateToAvatarsOverMe(); | ||||
|         } | ||||
|  |  | |||
|  | @ -63,7 +63,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
| 
 | ||||
|             if (p.Length > 0) | ||||
|             { | ||||
|                 result = m_AssetService.Delete(p[0]); | ||||
|                 // result = m_AssetService.Delete(p[0]); | ||||
|             } | ||||
| 
 | ||||
|             XmlSerializer xs = new XmlSerializer(typeof(bool)); | ||||
|  |  | |||
|  | @ -1351,6 +1351,9 @@ | |||
| ; For example- http://127.0.0.1:9000/SStats/ | ||||
| ; enabled=false | ||||
| 
 | ||||
| [LandManagement] | ||||
| ; DefaultAdministratorGroupUUID = ""; | ||||
| ; DefaultAdministratorParcelName = ""; | ||||
| 
 | ||||
| ;; | ||||
| ;; These are defaults that are overwritten below in [Architecture]. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 CasperW
						CasperW