ubOde: but only do that if sphere is physical..

0.9.0-post-fixes
UbitUmarov 2017-07-03 23:38:55 +01:00
parent 39751891f4
commit 1dc56eb15f
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
return true;
}
if (gtype == d.GeomClassID.SphereClass)
if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero)
{
if(d.GeomSphereGetRadius(other) < 0.5)
return true;