aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 1604c4b..2105be1 100644
--- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
@@ -1332,10 +1332,10 @@ namespace OpenSim.Region.Physics.OdePlugin
1332 _parent_scene.waitForSpaceUnlock(m_targetSpace); 1332 _parent_scene.waitForSpaceUnlock(m_targetSpace);
1333 try 1333 try
1334 { 1334 {
1335 if (prim_geom == IntPtr.Zero) 1335 // if (prim_geom == IntPtr.Zero) // setGeom takes care of phys engine recreate and prim_geom pointer
1336 { 1336 // {
1337 SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null)); 1337 SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null));
1338 } 1338 // }
1339 } 1339 }
1340 catch (AccessViolationException) 1340 catch (AccessViolationException)
1341 { 1341 {