diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 63f2b10..c495d71 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs | |||
@@ -821,7 +821,9 @@ angles24 = [ | |||
821 | newLayer.AddValue2Faces(coordsLen); | 821 | newLayer.AddValue2Faces(coordsLen); |
822 | 822 | ||
823 | this.coords.AddRange(newLayer.coords); | 823 | this.coords.AddRange(newLayer.coords); |
824 | this.faces.AddRange(newLayer.faces); | 824 | |
825 | if (percentOfPath <= this.pathCutBegin || percentOfPath >= this.pathCutEnd) | ||
826 | this.faces.AddRange(newLayer.faces); | ||
825 | 827 | ||
826 | // fill faces between layers | 828 | // fill faces between layers |
827 | 829 | ||
@@ -1009,7 +1011,9 @@ angles24 = [ | |||
1009 | newLayer.AddValue2Faces(coordsLen); | 1011 | newLayer.AddValue2Faces(coordsLen); |
1010 | 1012 | ||
1011 | this.coords.AddRange(newLayer.coords); | 1013 | this.coords.AddRange(newLayer.coords); |
1012 | this.faces.AddRange(newLayer.faces); | 1014 | |
1015 | if (angle <= startAngle || angle >= endAngle) | ||
1016 | this.faces.AddRange(newLayer.faces); | ||
1013 | 1017 | ||
1014 | // fill faces between layers | 1018 | // fill faces between layers |
1015 | 1019 | ||