diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs b/OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs index f72ad28..1cb948e 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs | |||
@@ -136,6 +136,7 @@ public sealed class BSTerrainHeightmap : BSTerrainPhys | |||
136 | // Frees both the body and the shape. | 136 | // Frees both the body and the shape. |
137 | m_physicsScene.PE.DestroyObject(m_physicsScene.World, m_mapInfo.terrainBody); | 137 | m_physicsScene.PE.DestroyObject(m_physicsScene.World, m_mapInfo.terrainBody); |
138 | } | 138 | } |
139 | m_mapInfo.Release(); | ||
139 | } | 140 | } |
140 | m_mapInfo = null; | 141 | m_mapInfo = null; |
141 | } | 142 | } |