From 1507c5230bdac908ebba267ed7e8169e4ee8ab74 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 30 Dec 2016 05:13:53 +0000 Subject: remove a gc.collect that isn't very usefull (on the right engine this time) --- OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs') 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 IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); - GC.Collect(1); - TerrainHeightFieldHeightsHandler = GCHandle.Alloc(_heightmap, GCHandleType.Pinned); d.GeomHeightfieldDataBuildSingle(HeightmapData, TerrainHeightFieldHeightsHandler.AddrOfPinnedObject(), 0, -- cgit v1.1