fix cilinder and cone physics mesh

LSLKeyTest
UbitUmarov 2015-12-26 01:49:30 +00:00
parent 073877dcae
commit f92deb65f8
1 changed files with 2 additions and 0 deletions

View File

@ -1450,6 +1450,8 @@ namespace PrimMesher
int endVert = this.coords.Count; int endVert = this.coords.Count;
if (!this.hasProfileCut) if (!this.hasProfileCut)
{ {
if(numVerts > 5 && !hasHollow)
startVert++;
int i = startVert; int i = startVert;
for (int l = 0; l < profile.numOuterVerts - 1; l++) for (int l = 0; l < profile.numOuterVerts - 1; l++)
{ {