aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-12-26 01:49:30 +0000
committerUbitUmarov2015-12-26 01:49:30 +0000
commitf92deb65f8b91138edef454a67f4647d3be9bca4 (patch)
tree24234d9ecd84938601e154bcf5f08b552e926959
parentODE lib: update the lib for linux 64bit. Thnx Dan. (keep older close in case ... (diff)
downloadopensim-SC_OLD-f92deb65f8b91138edef454a67f4647d3be9bca4.zip
opensim-SC_OLD-f92deb65f8b91138edef454a67f4647d3be9bca4.tar.gz
opensim-SC_OLD-f92deb65f8b91138edef454a67f4647d3be9bca4.tar.bz2
opensim-SC_OLD-f92deb65f8b91138edef454a67f4647d3be9bca4.tar.xz
fix cilinder and cone physics mesh
-rw-r--r--OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs
index 8eb136b..9c081b9 100644
--- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs
+++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/PrimMesher.cs
@@ -1450,6 +1450,8 @@ namespace PrimMesher
1450 int endVert = this.coords.Count; 1450 int endVert = this.coords.Count;
1451 if (!this.hasProfileCut) 1451 if (!this.hasProfileCut)
1452 { 1452 {
1453 if(numVerts > 5 && !hasHollow)
1454 startVert++;
1453 int i = startVert; 1455 int i = startVert;
1454 for (int l = 0; l < profile.numOuterVerts - 1; l++) 1456 for (int l = 0; l < profile.numOuterVerts - 1; l++)
1455 { 1457 {