diff options
* optimized usings.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs index eea6cf6..188915d 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/MapImageModule.cs | |||
@@ -25,20 +25,17 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections.Generic; |
30 | using System.Collections.Generic; | 30 | using System.Drawing; |
31 | using System.Drawing; | 31 | using System.Reflection; |
32 | using System.Drawing.Drawing2D; | 32 | using log4net; |
33 | using System.Drawing.Imaging; | 33 | using Nini.Config; |
34 | using System.Reflection; | 34 | using OpenMetaverse; |
35 | using Nini.Config; | 35 | using OpenMetaverse.Imaging; |
36 | using OpenMetaverse.Imaging; | 36 | using OpenSim.Region.Framework.Interfaces; |
37 | using log4net; | 37 | using OpenSim.Region.Framework.Scenes; |
38 | using OpenSim.Region.Framework.Interfaces; | 38 | |
39 | using OpenSim.Region.Framework.Scenes; | ||
40 | using OpenMetaverse; | ||
41 | |||
42 | namespace OpenSim.Region.CoreModules.World.WorldMap | 39 | namespace OpenSim.Region.CoreModules.World.WorldMap |
43 | { | 40 | { |
44 | public enum DrawRoutine | 41 | public enum DrawRoutine |
@@ -208,7 +205,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
208 | { | 205 | { |
209 | int tc = 0; | 206 | int tc = 0; |
210 | double[,] hm = whichScene.Heightmap.GetDoubles(); | 207 | double[,] hm = whichScene.Heightmap.GetDoubles(); |
211 | tc = System.Environment.TickCount; | 208 | tc = Environment.TickCount; |
212 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Object Volume Profile"); | 209 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Object Volume Profile"); |
213 | List<EntityBase> objs = whichScene.GetEntities(); | 210 | List<EntityBase> objs = whichScene.GetEntities(); |
214 | Dictionary<uint, DrawStruct> z_sort = new Dictionary<uint, DrawStruct>(); | 211 | Dictionary<uint, DrawStruct> z_sort = new Dictionary<uint, DrawStruct>(); |
@@ -525,7 +522,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
525 | g.Dispose(); | 522 | g.Dispose(); |
526 | } // lock entities objs | 523 | } // lock entities objs |
527 | 524 | ||
528 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Done in " + (System.Environment.TickCount - tc) + " ms"); | 525 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Done in " + (Environment.TickCount - tc) + " ms"); |
529 | return mapbmp; | 526 | return mapbmp; |
530 | } | 527 | } |
531 | 528 | ||