aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules
diff options
context:
space:
mode:
authorUbitUmarov2017-04-26 18:21:35 +0100
committerUbitUmarov2017-04-26 18:21:58 +0100
commitce655056cab400c0d0705861cef03eef541875c5 (patch)
treed58557f4741093f655af992be40fe8552476d7ce /OpenSim/Region/PhysicsModules
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-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.cs4
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 }