fix an error in hollow cylinder face number calculation

0.6.5-rc1
Dahlia Trimble 2009-04-03 08:45:32 +00:00
parent f17732346e
commit 5f4cab6ed3
1 changed files with 2 additions and 1 deletions

View File

@ -924,7 +924,8 @@ namespace PrimMesher
if (hasProfileCut)
this.faceNumbers.Add(0);
for (int i = 0; i < numHollowVerts; i++)
this.faceNumbers.Add(faceNum++);
//this.faceNumbers.Add(faceNum++);
this.faceNumbers.Add(hollowSides < 5 ? faceNum++ : faceNum);
this.bottomFaceNumber = faceNum++;
if (hasHollow && hasProfileCut)
this.faceNumbers.Add(faceNum++);