diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 6b8c09f5c1..5ca85f11a1 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 203ab3273f..26b6b986b9 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); } } + } } } }