stop using useless geom tricallback.

avinationmerge
UbitUmarov 2012-02-24 18:25:43 +00:00
parent 5145980c74
commit ec94b82f51
1 changed files with 2 additions and 1 deletions

View File

@ -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)