From f92deb65f8b91138edef454a67f4647d3be9bca4 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 26 Dec 2015 01:49:30 +0000 Subject: fix cilinder and cone physics mesh --- OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs index 8eb136b..9c081b9 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs @@ -1450,6 +1450,8 @@ namespace PrimMesher int endVert = this.coords.Count; if (!this.hasProfileCut) { + if(numVerts > 5 && !hasHollow) + startVert++; int i = startVert; for (int l = 0; l < profile.numOuterVerts - 1; l++) { -- cgit v1.1