oops lost a tiny bit

This commit is contained in:
UbitUmarov
2022-04-18 23:12:56 +01:00
parent 578c0f36ce
commit d919441fb2

View File

@@ -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,