aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-10-03 21:17:23 +0100
committerUbitUmarov2018-10-03 21:17:23 +0100
commit1bcdcc2419b9b4f9c64db740f71bacfb8cd02127 (patch)
tree7d372391fe013f00d58394d8b145c904e0e2df7c /OpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs
parentmissed new c# version only code (diff)
downloadopensim-SC-1bcdcc2419b9b4f9c64db740f71bacfb8cd02127.zip
opensim-SC-1bcdcc2419b9b4f9c64db740f71bacfb8cd02127.tar.gz
opensim-SC-1bcdcc2419b9b4f9c64db740f71bacfb8cd02127.tar.bz2
opensim-SC-1bcdcc2419b9b4f9c64db740f71bacfb8cd02127.tar.xz
mantis 8384: try to fix bullet heimap managed memory sharing with unmanaged lib
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/PhysicsModules/BulletS/BSTerrainHeightmap.cs1
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 }