aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
authorKitto Flora2010-08-04 21:08:00 +0000
committerKitto Flora2010-08-04 21:08:00 +0000
commitcb3b124df9213bf12383a5625ac4e545fcc91b87 (patch)
treed7d2abfaf0e845f538622d5e9bb9e69d9bceefa7 /OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
parentLog the UUID of a prim that fails meshing and set the prim to phantom during (diff)
downloadopensim-SC-cb3b124df9213bf12383a5625ac4e545fcc91b87.zip
opensim-SC-cb3b124df9213bf12383a5625ac4e545fcc91b87.tar.gz
opensim-SC-cb3b124df9213bf12383a5625ac4e545fcc91b87.tar.bz2
opensim-SC-cb3b124df9213bf12383a5625ac4e545fcc91b87.tar.xz
Fixes fresh hollowed prim collision shape.
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 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 {