mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Remove time based terrain storage in SQLite so revision number can be used
to denote terrain format revision. Add terrain DB format revision codes to ISimulationDataStore.cs. Setup so legacy compatible terrain storage and fetch is possible while allowing future format extensions.
This commit is contained in:
@@ -576,7 +576,7 @@ ELSE
|
||||
/// <param name="regionID">regionID.</param>
|
||||
public void StoreTerrain(double[,] terrain, UUID regionID)
|
||||
{
|
||||
int revision = Util.UnixTimeSinceEpoch();
|
||||
int revision = (int)DBTerrainRevision.Legacy256;
|
||||
|
||||
//Delete old terrain map
|
||||
string sql = "delete from terrain where RegionUUID=@RegionUUID";
|
||||
|
||||
Reference in New Issue
Block a user