From d919441fb2251ebabfb0bfc47b3143edb3ae98ad Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 18 Apr 2022 23:12:56 +0100 Subject: [PATCH] oops lost a tiny bit --- OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index 0a6d6b95a2..0c61d09ce2 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs @@ -1967,6 +1967,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde m_terrainHeightsHandler = GCHandle.Alloc(m_terrainHeights, GCHandleType.Pinned); m_lastRegionWidth = m_regionWidth; + m_lastRegionHeight = m_regionHeight; HeightmapData = SafeNativeMethods.GeomOSTerrainDataCreate(); SafeNativeMethods.GeomOSTerrainDataBuild(HeightmapData, m_terrainHeightsHandler.AddrOfPinnedObject(), 0, 1.0f,