From 95ebb7794cd016485f3ce4e4449091955a6e9eaf Mon Sep 17 00:00:00 2001 From: dahlia Date: Sun, 4 Oct 2009 02:59:12 -0700 Subject: flexible extrusion shape defaults to linear --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics') 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 primMesh.pathCutBegin = pathBegin; primMesh.pathCutEnd = pathEnd; - if (primShape.PathCurve == (byte)Extrusion.Straight) + if (primShape.PathCurve == (byte)Extrusion.Straight || primShape.PathCurve == (byte) Extrusion.Flexible) { primMesh.twistBegin = primShape.PathTwistBegin * 18 / 10; primMesh.twistEnd = primShape.PathTwist * 18 / 10; -- cgit v1.1