diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs index 2f97caf..51d067a 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs | |||
@@ -718,8 +718,8 @@ namespace PrimMesher | |||
718 | } | 718 | } |
719 | 719 | ||
720 | newFace.v1 = 0; | 720 | newFace.v1 = 0; |
721 | newFace.v2 = numTotalVerts - numHollowVerts; | 721 | newFace.v2 = numTotalVerts - 1; |
722 | newFace.v3 = numTotalVerts - 1; | 722 | newFace.v3 = numTotalVerts - numHollowVerts; |
723 | faces.Add(newFace); | 723 | faces.Add(newFace); |
724 | } | 724 | } |
725 | } | 725 | } |