also don't collide sculps or meshs if meshing is OFF

avinationmerge
UbitUmarov 2012-05-21 17:11:19 +01:00
parent b92ecc5382
commit d2260423e5
1 changed files with 2 additions and 0 deletions

View File

@ -1482,6 +1482,8 @@ namespace OpenSim.Region.Physics.OdePlugin
if (!haveMesh) if (!haveMesh)
m_NoColide = true; m_NoColide = true;
} }
else if(_pbs.SculptEntry)
m_NoColide = true; // also don't colide if is a sculp or mesh and meshing is off
if (!haveMesh) if (!haveMesh)
{ {