aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorDahlia Trimble2008-09-19 09:13:27 +0000
committerDahlia Trimble2008-09-19 09:13:27 +0000
commite6afb283557d01536ac4a43584840381ccb04ead (patch)
treeb744d84af27df769fb8009e363347649b88a96c1 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parent* Tweaked handler code to recognize LibOMV's LLSD Login by post content. (diff)
downloadopensim-SC_OLD-e6afb283557d01536ac4a43584840381ccb04ead.zip
opensim-SC_OLD-e6afb283557d01536ac4a43584840381ccb04ead.tar.gz
opensim-SC_OLD-e6afb283557d01536ac4a43584840381ccb04ead.tar.bz2
opensim-SC_OLD-e6afb283557d01536ac4a43584840381ccb04ead.tar.xz
re-enabled some ODE internal proxies for some simple prim types to try to save some more memory
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-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