aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Storage/LocalStorageDb4o
diff options
context:
space:
mode:
authorMW2007-04-06 19:25:29 +0000
committerMW2007-04-06 19:25:29 +0000
commit0879e6427ecc01a888b33357059369ac9101f0c9 (patch)
tree2a16b5857e771203ee112338eb7755644fa127f1 /OpenSim.Storage/LocalStorageDb4o
parentNow back to compiling, just no terrain generation at the moment (diff)
downloadopensim-SC-0879e6427ecc01a888b33357059369ac9101f0c9.zip
opensim-SC-0879e6427ecc01a888b33357059369ac9101f0c9.tar.gz
opensim-SC-0879e6427ecc01a888b33357059369ac9101f0c9.tar.bz2
opensim-SC-0879e6427ecc01a888b33357059369ac9101f0c9.tar.xz
compiles and works just weird terrain problem (and terrain saving is currently not functional)
Diffstat (limited to 'OpenSim.Storage/LocalStorageDb4o')
-rw-r--r--OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs b/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
index b5fa79b..189ee1a 100644
--- a/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
+++ b/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs
@@ -134,6 +134,7 @@ namespace OpenSim.Storage.LocalStorageDb4o
134 } 134 }
135 else 135 else
136 { 136 {
137 /*
137 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("LoadWorld() - No heightmap found, generating new one"); 138 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("LoadWorld() - No heightmap found, generating new one");
138 HeightmapGenHills hills = new HeightmapGenHills(); 139 HeightmapGenHills hills = new HeightmapGenHills();
139 // blank.LandMap = hills.GenerateHeightmap(200, 4.0f, 80.0f, false); 140 // blank.LandMap = hills.GenerateHeightmap(200, 4.0f, 80.0f, false);
@@ -144,6 +145,7 @@ namespace OpenSim.Storage.LocalStorageDb4o
144 map.Map = heightmap; //blank.LandMap; 145 map.Map = heightmap; //blank.LandMap;
145 db.Set(map); 146 db.Set(map);
146 db.Commit(); 147 db.Commit();
148 */
147 } 149 }
148 return heightmap; 150 return heightmap;
149 } 151 }