mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Formatting cleanup.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Collections;
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
reply["str_response_string"] = response.OuterXml;
|
||||
reply["int_response_code"] = statuscode;
|
||||
reply["content_type"] = "text/xml";
|
||||
|
||||
|
||||
return reply;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
using System;
|
||||
@@ -70,14 +70,14 @@ namespace OpenSim.Region.DataSnapshot
|
||||
#region IRegionModule
|
||||
public void Close()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void Initialise(Scene scene, IConfigSource config)
|
||||
{
|
||||
if (!m_scenes.Contains(scene))
|
||||
m_scenes.Add(scene);
|
||||
|
||||
|
||||
if (!m_configLoaded)
|
||||
{
|
||||
m_configLoaded = true;
|
||||
@@ -317,7 +317,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
|
||||
private String GetRegionCategory(Scene scene)
|
||||
{
|
||||
|
||||
|
||||
//Boolean choice between:
|
||||
// "PG" - Mormontown
|
||||
// "Mature" - Sodom and Gomorrah
|
||||
@@ -396,7 +396,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
}
|
||||
|
||||
/**
|
||||
* Reply to the http request
|
||||
* Reply to the http request
|
||||
*/
|
||||
public XmlDocument GetSnapshot(string regionName)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Xml;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
using System;
|
||||
@@ -51,9 +51,9 @@ namespace OpenSim.Region.DataSnapshot
|
||||
|
||||
/*
|
||||
* David, I don't think we need this at all. When we do the snapshot, we can
|
||||
* simply look into the parcels that are marked for ShowDirectory -- see
|
||||
* simply look into the parcels that are marked for ShowDirectory -- see
|
||||
* conditional in RequestSnapshotData
|
||||
*
|
||||
*
|
||||
//Revise this, look for more direct way of checking for change in land
|
||||
#region Client hooks
|
||||
|
||||
@@ -115,7 +115,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
}
|
||||
|
||||
public XmlNode RequestSnapshotData(XmlDocument nodeFactory)
|
||||
{
|
||||
{
|
||||
ILandChannel landChannel = (LandChannel)m_scene.LandChannel;
|
||||
Dictionary<int, ILandObject> landList = null;
|
||||
try
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
foreach (EntityBase entity in m_scene.Entities.Values)
|
||||
{
|
||||
// only objects, not avatars
|
||||
if (entity is SceneObjectGroup)
|
||||
if (entity is SceneObjectGroup)
|
||||
{
|
||||
SceneObjectGroup obj = (SceneObjectGroup)entity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user