aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-17 13:20:06 +0000
committerAdam Frisby2008-04-17 13:20:06 +0000
commita0fc29878e3279891d2ce9d53b537cbe52946f5e (patch)
tree2baff67d85fc62dc946a863867c76323999b477a /OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
parent* Added a directory for the SVN module. More about to come. (diff)
downloadopensim-SC-a0fc29878e3279891d2ce9d53b537cbe52946f5e.zip
opensim-SC-a0fc29878e3279891d2ce9d53b537cbe52946f5e.tar.gz
opensim-SC-a0fc29878e3279891d2ce9d53b537cbe52946f5e.tar.bz2
opensim-SC-a0fc29878e3279891d2ce9d53b537cbe52946f5e.tar.xz
* Added a directory for the SVN module. More about to come.* SVNBackupModule
* See OpenSim.ini.example settings for how to use * Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim. * Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list. * It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files. * Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
index 83ee341..7575b1b 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
@@ -130,7 +130,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders
130 public void SaveFile(string filename, ITerrainChannel map) 130 public void SaveFile(string filename, ITerrainChannel map)
131 { 131 {
132 FileInfo file = new FileInfo(filename); 132 FileInfo file = new FileInfo(filename);
133 FileStream s = file.Open(FileMode.CreateNew, FileAccess.Write); 133 FileStream s = file.Open(FileMode.Create, FileAccess.Write);
134 BinaryWriter bs = new BinaryWriter(s); 134 BinaryWriter bs = new BinaryWriter(s);
135 135
136 int x, y; 136 int x, y;