diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs index eeeacdc..8555089 100644 --- a/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs +++ b/OpenSim/Region/Environment/Modules/ExportSerialiser/SerialiseTerrain.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenSim.Region.Environment.Modules.Terrain; | 28 | using OpenSim.Region.Environment.Modules.Terrain; |
29 | using OpenSim.Region.Environment.Modules.Terrain.FileLoaders; | ||
29 | using OpenSim.Region.Environment.Scenes; | 30 | using OpenSim.Region.Environment.Scenes; |
30 | 31 | ||
31 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser | 32 | namespace OpenSim.Region.Environment.Modules.ExportSerialiser |
@@ -36,7 +37,7 @@ namespace OpenSim.Region.Environment.Modules.ExportSerialiser | |||
36 | 37 | ||
37 | public string WriteToFile(Scene scene, string dir) | 38 | public string WriteToFile(Scene scene, string dir) |
38 | { | 39 | { |
39 | ITerrainLoader fileSystemExporter = new Terrain.FileLoaders.RAW32(); | 40 | ITerrainLoader fileSystemExporter = new RAW32(); |
40 | string targetFileName = dir + "heightmap.r32"; | 41 | string targetFileName = dir + "heightmap.r32"; |
41 | 42 | ||
42 | lock (scene.Heightmap) | 43 | lock (scene.Heightmap) |