From 112a1af3a68d355724e09399372c71c2ae452cb4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 10 Mar 2009 00:03:26 +0000 Subject: Update svn properties, minor formatting cleanup. --- OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 2 +- OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 6b8c09f..5ca85f1 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs @@ -251,7 +251,7 @@ namespace OpenSim.Client.MXP.ClientStack if (avatarExt.Body != null) { - foreach(OmBipedBoneOrientation boneOrientation in avatarExt.Body.BipedBoneOrientations) + foreach (OmBipedBoneOrientation boneOrientation in avatarExt.Body.BipedBoneOrientations) { if (boneOrientation.Bone == OmBipedBones.Head) { diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index 203ab32..26b6b98 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs @@ -26,7 +26,6 @@ * */ - using System.Collections.Generic; using System.Reflection; using log4net; @@ -63,16 +62,13 @@ namespace OpenSim.Region.CoreModules.Hypergrid this, "export-map", "export-map []", "Save an image of the world map", HandleExportWorldMapConsoleCommand); - } - public override string Name { get { return "HGWorldMap"; } } - #endregion /// @@ -143,10 +139,10 @@ namespace OpenSim.Region.CoreModules.Hypergrid } } - private void FillInMap(List mapBlocks, int minX, int minY, int maxX, int maxY) { for (int x = minX; x <= maxX; x++) + { for (int y = minY; y <= maxY; y++) { MapBlockData mblock = mapBlocks.Find(delegate(MapBlockData mb) { return ((mb.X == x) && (mb.Y == y)); }); @@ -161,6 +157,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid mapBlocks.Add(mblock); } } + } } } } -- cgit v1.1