diff options
author | UbitUmarov | 2016-12-03 18:35:31 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-03 18:35:31 +0000 |
commit | 2ff75e76920a006e4993013540bb50ef61a2f863 (patch) | |
tree | 4685c6ebd3c70af68bf190088116c2b1d85e0fed /OpenSim/Region/PhysicsModules | |
parent | change a wrong error message and avoid a null ref (that may happen due to nee... (diff) | |
download | opensim-SC-2ff75e76920a006e4993013540bb50ef61a2f863.zip opensim-SC-2ff75e76920a006e4993013540bb50ef61a2f863.tar.gz opensim-SC-2ff75e76920a006e4993013540bb50ef61a2f863.tar.bz2 opensim-SC-2ff75e76920a006e4993013540bb50ef61a2f863.tar.xz |
ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in case on circle hollow shape
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 | } |