diff options
author | dahlia | 2009-10-04 02:59:12 -0700 |
---|---|---|
committer | dahlia | 2009-10-04 02:59:12 -0700 |
commit | 95ebb7794cd016485f3ce4e4449091955a6e9eaf (patch) | |
tree | b377ca40c4571ba10f3f2859a01d219922519e28 | |
parent | disable physics actors for flexible prims (diff) | |
download | opensim-SC_OLD-95ebb7794cd016485f3ce4e4449091955a6e9eaf.zip opensim-SC_OLD-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.gz opensim-SC_OLD-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.bz2 opensim-SC_OLD-95ebb7794cd016485f3ce4e4449091955a6e9eaf.tar.xz |
flexible extrusion shape defaults to linear
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 2 |
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; |