mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Enabled complex meshing for simple box prims with non-zero shear
This commit is contained in:
@@ -1691,7 +1691,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
return false;
|
||||
}
|
||||
|
||||
// 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 it's a standard box or sphere with no cuts, hollows, twist or top shear, 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))
|
||||
@@ -1702,7 +1702,8 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
&& pbs.PathTwist == 0 && pbs.PathTwistBegin == 0
|
||||
&& pbs.PathBegin == 0 && pbs.PathEnd == 0
|
||||
&& pbs.PathTaperX == 0 && pbs.PathTaperY == 0
|
||||
&& pbs.PathScaleX == 100 && pbs.PathScaleY == 100)
|
||||
&& pbs.PathScaleX == 100 && pbs.PathScaleY == 100
|
||||
&& pbs.PathShearX == 0 && pbs.PathShearY == 0)
|
||||
{
|
||||
#if SPAM
|
||||
m_log.Warn("NonMesh");
|
||||
|
||||
Reference in New Issue
Block a user