diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 9e43994..c397290 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs | |||
@@ -924,7 +924,8 @@ namespace PrimMesher | |||
924 | if (hasProfileCut) | 924 | if (hasProfileCut) |
925 | this.faceNumbers.Add(0); | 925 | this.faceNumbers.Add(0); |
926 | for (int i = 0; i < numHollowVerts; i++) | 926 | for (int i = 0; i < numHollowVerts; i++) |
927 | this.faceNumbers.Add(faceNum++); | 927 | //this.faceNumbers.Add(faceNum++); |
928 | this.faceNumbers.Add(hollowSides < 5 ? faceNum++ : faceNum); | ||
928 | this.bottomFaceNumber = faceNum++; | 929 | this.bottomFaceNumber = faceNum++; |
929 | if (hasHollow && hasProfileCut) | 930 | if (hasHollow && hasProfileCut) |
930 | this.faceNumbers.Add(faceNum++); | 931 | this.faceNumbers.Add(faceNum++); |