aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs')
-rw-r--r--OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
index 7e70db9..6aa28e0 100644
--- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
@@ -1331,10 +1331,10 @@ namespace OpenSim.Region.Physics.OdePlugin
1331 _parent_scene.waitForSpaceUnlock(m_targetSpace); 1331 _parent_scene.waitForSpaceUnlock(m_targetSpace);
1332 try 1332 try
1333 { 1333 {
1334 if (prim_geom == IntPtr.Zero) 1334 // if (prim_geom == IntPtr.Zero) // setGeom takes care of phys engine recreate and prim_geom pointer
1335 { 1335 // {
1336 SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null)); 1336 SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null));
1337 } 1337 // }
1338 } 1338 }
1339 catch (AccessViolationException) 1339 catch (AccessViolationException)
1340 { 1340 {