mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Fixes fresh hollowed prim collision shape.
This commit is contained in:
@@ -1331,10 +1331,10 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
_parent_scene.waitForSpaceUnlock(m_targetSpace);
|
||||
try
|
||||
{
|
||||
if (prim_geom == IntPtr.Zero)
|
||||
{
|
||||
// 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));
|
||||
}
|
||||
// }
|
||||
}
|
||||
catch (AccessViolationException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user