From d71b49c2a4cf3fecf903412e96da6569abb27a1d Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Mon, 4 Apr 2011 11:26:10 -0700 Subject: [PATCH] Force HandleTerrainUpdate message to set the terrain no matter what the timestamp. This temp fix allows the initial terrain update to be set. --- .../RegionSyncModule/SymmetricSync/RegionSyncModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs index f4e0835882..10a510d96a 100644 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs @@ -2230,6 +2230,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule //m_log.DebugFormat("{0}: received Terrain update msg, with TS {1}, actorID {2}",LogHeader, lastUpdateTimeStamp, lastUpdateActorID); //update the terrain if the incoming terrain data has an more recent timestamp + m_scene.RequestModuleInterface().SetSyncInfo(0, m_scene.GetSyncActorID()); if (m_scene.RequestModuleInterface().UpdateTerrianBySync(lastUpdateTimeStamp, lastUpdateActorID, msgData)) { //m_scene.Heightmap.LoadFromXmlString(msgData);