From 263633e274082135b21b8183b92280b768d18883 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 18 Jul 2008 02:40:47 +0000 Subject: Patch #9151 Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans. --- OpenSim/Framework/RegionSettings.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/RegionSettings.cs') diff --git a/OpenSim/Framework/RegionSettings.cs b/OpenSim/Framework/RegionSettings.cs index be57c1b..13fabaf 100644 --- a/OpenSim/Framework/RegionSettings.cs +++ b/OpenSim/Framework/RegionSettings.cs @@ -162,6 +162,8 @@ namespace OpenSim.Framework (flags & Simulator.RegionFlags.SkipPhysics) != 0; m_FixedSun = (flags & Simulator.RegionFlags.SunFixed) != 0; + m_Sandbox = + (flags & Simulator.RegionFlags.Sandbox) != 0; break; case "max_agents": m_AgentLimit = (int)value; @@ -231,7 +233,8 @@ namespace OpenSim.Framework public void Save() { - OnSave(this); + if(OnSave != null) + OnSave(this); } private LLUUID m_RegionUUID = LLUUID.Zero; @@ -474,6 +477,14 @@ namespace OpenSim.Framework set { m_UseEstateSun = value; } } + private bool m_Sandbox = false; + + public bool Sandbox + { + get { return m_Sandbox; } + set { m_Sandbox = value; } + } + private LLVector3 m_SunVector; public LLVector3 SunVector -- cgit v1.1