From 2ff75e76920a006e4993013540bb50ef61a2f863 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 3 Dec 2016 18:35:31 +0000 Subject: ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in case on circle hollow shape --- OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/PhysicsModules') diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs index 2f97caf..51d067a 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs @@ -718,8 +718,8 @@ namespace PrimMesher } newFace.v1 = 0; - newFace.v2 = numTotalVerts - numHollowVerts; - newFace.v3 = numTotalVerts - 1; + newFace.v2 = numTotalVerts - 1; + newFace.v3 = numTotalVerts - numHollowVerts; faces.Add(newFace); } } -- cgit v1.1