aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 245c757..5212c29 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -1526,6 +1526,19 @@ namespace OpenSim.Region.Physics.OdePlugin
1526 return false; 1526 return false;
1527 } 1527 }
1528 1528
1529 // 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
1530 if ((pbs.ProfileShape == ProfileShape.HalfCircle && pbs.PathCurve == (byte)Extrusion.Curve1)
1531 || (pbs.ProfileShape == ProfileShape.Square && pbs.PathCurve == (byte)Extrusion.Straight))
1532 {
1533 if (pbs.ProfileBegin == 0 && pbs.ProfileEnd == 0
1534 && pbs.ProfileHollow == 0
1535 && pbs.PathTwist == 0 && pbs.PathTwistBegin == 0
1536 && pbs.PathBegin == 0 && pbs.PathEnd == 0
1537 //&& pbs.PathTaperX == 0 && pbs.PathTaperY == 0
1538 && pbs.PathScaleX == 100 && pbs.PathScaleY == 100)
1539 return false;
1540 }
1541
1529 // if (pbs.ProfileHollow != 0) 1542 // if (pbs.ProfileHollow != 0)
1530 // return true; 1543 // return true;
1531 1544