ubOde: let small spheres still be spheres

This commit is contained in:
UbitUmarov
2017-07-22 02:04:02 +01:00
parent 618e142cf8
commit 3ae210d36f

View File

@@ -1755,7 +1755,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
{
IntPtr geo = IntPtr.Zero;
if (!OverrideToBox && _pbs.ProfileShape == ProfileShape.HalfCircle && _pbs.PathCurve == (byte)Extrusion.Curve1
if (_pbs.ProfileShape == ProfileShape.HalfCircle && _pbs.PathCurve == (byte)Extrusion.Curve1
&& _size.X == _size.Y && _size.Y == _size.Z)
{ // it's a sphere
try