diff options
compiles and works just weird terrain problem (and terrain saving is currently not functional)
Diffstat (limited to 'OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs')
-rw-r--r-- | OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs | 2 |
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 | } |