ubOde: let small spheres still be spheres

0.9.0-post-fixes
UbitUmarov 2017-07-22 02:04:02 +01:00
parent 618e142cf8
commit 3ae210d36f
1 changed files with 1 additions and 1 deletions

View File

@ -1755,7 +1755,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
{ {
IntPtr geo = IntPtr.Zero; 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) && _size.X == _size.Y && _size.Y == _size.Z)
{ // it's a sphere { // it's a sphere
try try