aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 2f42646..73ad15e 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -3519,7 +3519,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3519 public override void UnCombine(PhysicsScene pScene) 3519 public override void UnCombine(PhysicsScene pScene)
3520 { 3520 {
3521 IntPtr localGround = IntPtr.Zero; 3521 IntPtr localGround = IntPtr.Zero;
3522 float[] localHeightfield; 3522// float[] localHeightfield;
3523 bool proceed = false; 3523 bool proceed = false;
3524 List<IntPtr> geomDestroyList = new List<IntPtr>(); 3524 List<IntPtr> geomDestroyList = new List<IntPtr>();
3525 3525
@@ -3531,7 +3531,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3531 { 3531 {
3532 if (geom == localGround) 3532 if (geom == localGround)
3533 { 3533 {
3534 localHeightfield = TerrainHeightFieldHeights[geom]; 3534// localHeightfield = TerrainHeightFieldHeights[geom];
3535 proceed = true; 3535 proceed = true;
3536 } 3536 }
3537 else 3537 else
@@ -3553,7 +3553,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3553 // memory corruption 3553 // memory corruption
3554 if (TerrainHeightFieldHeights.ContainsKey(g)) 3554 if (TerrainHeightFieldHeights.ContainsKey(g))
3555 { 3555 {
3556 float[] removingHeightField = TerrainHeightFieldHeights[g]; 3556// float[] removingHeightField = TerrainHeightFieldHeights[g];
3557 TerrainHeightFieldHeights.Remove(g); 3557 TerrainHeightFieldHeights.Remove(g);
3558 3558
3559 if (RegionTerrain.ContainsKey(g)) 3559 if (RegionTerrain.ContainsKey(g))