mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Disabled use of ODE internal geometry to see if it affects the "waves finger" error
This commit is contained in:
@@ -1527,18 +1527,18 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
}
|
||||
|
||||
// if it's a standard box or sphere with no cuts or hollows or twist, return false since ODE can use an internal representation for the prim
|
||||
if ((pbs.ProfileShape == ProfileShape.Square && pbs.PathCurve == (byte)Extrusion.Straight)
|
||||
|| (pbs.ProfileShape == ProfileShape.HalfCircle && pbs.PathCurve == (byte)Extrusion.Curve1
|
||||
&& pbs.Scale.X == pbs.Scale.Y && pbs.Scale.Y == pbs.Scale.Z))
|
||||
{
|
||||
if (pbs.ProfileBegin == 0 && pbs.ProfileEnd == 0
|
||||
&& pbs.ProfileHollow == 0
|
||||
&& pbs.PathTwist == 0 && pbs.PathTwistBegin == 0
|
||||
&& pbs.PathBegin == 0 && pbs.PathEnd == 0
|
||||
//&& pbs.PathTaperX == 0 && pbs.PathTaperY == 0
|
||||
&& pbs.PathScaleX == 100 && pbs.PathScaleY == 100)
|
||||
return false;
|
||||
}
|
||||
//if ((pbs.ProfileShape == ProfileShape.Square && pbs.PathCurve == (byte)Extrusion.Straight)
|
||||
// || (pbs.ProfileShape == ProfileShape.HalfCircle && pbs.PathCurve == (byte)Extrusion.Curve1
|
||||
// && pbs.Scale.X == pbs.Scale.Y && pbs.Scale.Y == pbs.Scale.Z))
|
||||
//{
|
||||
// if (pbs.ProfileBegin == 0 && pbs.ProfileEnd == 0
|
||||
// && pbs.ProfileHollow == 0
|
||||
// && pbs.PathTwist == 0 && pbs.PathTwistBegin == 0
|
||||
// && pbs.PathBegin == 0 && pbs.PathEnd == 0
|
||||
// //&& pbs.PathTaperX == 0 && pbs.PathTaperY == 0
|
||||
// && pbs.PathScaleX == 100 && pbs.PathScaleY == 100)
|
||||
// return false;
|
||||
//}
|
||||
|
||||
// if (pbs.ProfileHollow != 0)
|
||||
// return true;
|
||||
|
||||
Reference in New Issue
Block a user