diff options
author | UbitUmarov | 2016-12-30 05:13:53 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-30 05:15:50 +0000 |
commit | 1507c5230bdac908ebba267ed7e8169e4ee8ab74 (patch) | |
tree | 1e6f171caa69c9ec11e17a6b09fd08c85a9851de /OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |
parent | remove a gc.collect that isn't very usefull (diff) | |
download | opensim-SC-1507c5230bdac908ebba267ed7e8169e4ee8ab74.zip opensim-SC-1507c5230bdac908ebba267ed7e8169e4ee8ab74.tar.gz opensim-SC-1507c5230bdac908ebba267ed7e8169e4ee8ab74.tar.bz2 opensim-SC-1507c5230bdac908ebba267ed7e8169e4ee8ab74.tar.xz |
remove a gc.collect that isn't very usefull (on the right engine this
time)
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index f642699..410463c 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -2267,8 +2267,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
2267 | 2267 | ||
2268 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); | 2268 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); |
2269 | 2269 | ||
2270 | GC.Collect(1); | ||
2271 | |||
2272 | TerrainHeightFieldHeightsHandler = GCHandle.Alloc(_heightmap, GCHandleType.Pinned); | 2270 | TerrainHeightFieldHeightsHandler = GCHandle.Alloc(_heightmap, GCHandleType.Pinned); |
2273 | 2271 | ||
2274 | d.GeomHeightfieldDataBuildSingle(HeightmapData, TerrainHeightFieldHeightsHandler.AddrOfPinnedObject(), 0, | 2272 | d.GeomHeightfieldDataBuildSingle(HeightmapData, TerrainHeightFieldHeightsHandler.AddrOfPinnedObject(), 0, |