diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index ecde92a..f955c52 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -30,6 +30,7 @@ using System; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Region.Physics.Manager; | 32 | using OpenSim.Region.Physics.Manager; |
33 | using OpenMetaverse; | ||
33 | 34 | ||
34 | namespace OpenSim.Region.Physics.Meshing | 35 | namespace OpenSim.Region.Physics.Meshing |
35 | { | 36 | { |
@@ -1559,7 +1560,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
1559 | 1560 | ||
1560 | if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.Circle) | 1561 | if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.Circle) |
1561 | { | 1562 | { |
1562 | Quaternion zFlip = new Quaternion(new Vertex(0.0f, 0.0f, 1.0f), (float)Math.PI); | 1563 | Quaternion zFlip = Quaternion.CreateFromAxisAngle(new Vector3(0.0f, 0.0f, 1.0f), (float)Math.PI); |
1563 | Vertex vTmp = new Vertex(0.0f, 0.0f, 0.0f); | 1564 | Vertex vTmp = new Vertex(0.0f, 0.0f, 0.0f); |
1564 | foreach (Vertex v in cuttedHull.getVertices()) | 1565 | foreach (Vertex v in cuttedHull.getVertices()) |
1565 | if (v != null) | 1566 | if (v != null) |