aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordahlia2009-10-04 02:59:12 -0700
committerdahlia2009-10-04 02:59:12 -0700
commit95ebb7794cd016485f3ce4e4449091955a6e9eaf (patch)
treeb377ca40c4571ba10f3f2859a01d219922519e28
parentdisable physics actors for flexible prims (diff)
downloadopensim-SC-95ebb7794cd016485f3ce4e4449091955a6e9eaf.zip
opensim-SC-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.gz
opensim-SC-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.bz2
opensim-SC-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.xz
flexible extrusion shape defaults to linear
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index ea6e10b..0e29ccc 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -397,7 +397,7 @@ namespace OpenSim.Region.Physics.Meshing
397 primMesh.pathCutBegin = pathBegin; 397 primMesh.pathCutBegin = pathBegin;
398 primMesh.pathCutEnd = pathEnd; 398 primMesh.pathCutEnd = pathEnd;
399 399
400 if (primShape.PathCurve == (byte)Extrusion.Straight) 400 if (primShape.PathCurve == (byte)Extrusion.Straight || primShape.PathCurve == (byte) Extrusion.Flexible)
401 { 401 {
402 primMesh.twistBegin = primShape.PathTwistBegin * 18 / 10; 402 primMesh.twistBegin = primShape.PathTwistBegin * 18 / 10;
403 primMesh.twistEnd = primShape.PathTwist * 18 / 10; 403 primMesh.twistEnd = primShape.PathTwist * 18 / 10;