diff options
author | UbitUmarov | 2015-12-26 01:49:30 +0000 |
---|---|---|
committer | UbitUmarov | 2015-12-26 01:49:30 +0000 |
commit | f92deb65f8b91138edef454a67f4647d3be9bca4 (patch) | |
tree | 24234d9ecd84938601e154bcf5f08b552e926959 | |
parent | ODE lib: update the lib for linux 64bit. Thnx Dan. (keep older close in case ... (diff) | |
download | opensim-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.cs | 2 |
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 | { |