diff options
author | UbitUmarov | 2017-04-26 18:21:35 +0100 |
---|---|---|
committer | UbitUmarov | 2017-04-26 18:21:58 +0100 |
commit | ce655056cab400c0d0705861cef03eef541875c5 (patch) | |
tree | d58557f4741093f655af992be40fe8552476d7ce /OpenSim/Region/PhysicsModules | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-ce655056cab400c0d0705861cef03eef541875c5.zip opensim-SC_OLD-ce655056cab400c0d0705861cef03eef541875c5.tar.gz opensim-SC_OLD-ce655056cab400c0d0705861cef03eef541875c5.tar.bz2 opensim-SC_OLD-ce655056cab400c0d0705861cef03eef541875c5.tar.xz |
ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
Diffstat (limited to 'OpenSim/Region/PhysicsModules')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs index 10facf2..e93175f 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | |||
@@ -755,8 +755,8 @@ namespace PrimMesher | |||
755 | if (hollowAngles.angles[0].angle - angles.angles[i].angle < angles.angles[i].angle - hollowAngles.angles[maxJ].angle + 0.000001f) | 755 | if (hollowAngles.angles[0].angle - angles.angles[i].angle < angles.angles[i].angle - hollowAngles.angles[maxJ].angle + 0.000001f) |
756 | { | 756 | { |
757 | newFace.v1 = 0; | 757 | newFace.v1 = 0; |
758 | newFace.v2 = numTotalVerts - maxJ - 1; | 758 | newFace.v2 = numTotalVerts - 1; |
759 | newFace.v3 = numTotalVerts - 1; | 759 | newFace.v3 = numTotalVerts - maxJ - 1; |
760 | 760 | ||
761 | faces.Add(newFace); | 761 | faces.Add(newFace); |
762 | } | 762 | } |