From ec94b82f514b988ad9b931c842a022a0fb5b3bae Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 24 Feb 2012 18:25:43 +0000 Subject: stop using useless geom tricallback. --- OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs') diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs index 80c1277..41afe76 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs @@ -1810,7 +1810,8 @@ namespace OpenSim.Region.Physics.OdePlugin { // if (prim_geom == IntPtr.Zero) // setGeom takes care of phys engine recreate and prim_geom pointer // { - SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null)); + // SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, parent_scene.triCallback, null, null)); + SetGeom(d.CreateTriMesh(m_targetSpace, _triMeshData, null, null, null)); // } } catch (AccessViolationException) -- cgit v1.1