aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorDahlia Trimble2009-04-03 08:45:32 +0000
committerDahlia Trimble2009-04-03 08:45:32 +0000
commit5f4cab6ed3efe394cb9cc3383bd64ee184fb3dc7 (patch)
tree57b7a61944bb3701bee9e12dd0fce52fa135ed87 /OpenSim/Region/Physics
parentFix a nullref when compiling non-LSL scripts (diff)
downloadopensim-SC-5f4cab6ed3efe394cb9cc3383bd64ee184fb3dc7.zip
opensim-SC-5f4cab6ed3efe394cb9cc3383bd64ee184fb3dc7.tar.gz
opensim-SC-5f4cab6ed3efe394cb9cc3383bd64ee184fb3dc7.tar.bz2
opensim-SC-5f4cab6ed3efe394cb9cc3383bd64ee184fb3dc7.tar.xz
fix an error in hollow cylinder face number calculation
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index 9e43994..c397290 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -924,7 +924,8 @@ namespace PrimMesher
924 if (hasProfileCut) 924 if (hasProfileCut)
925 this.faceNumbers.Add(0); 925 this.faceNumbers.Add(0);
926 for (int i = 0; i < numHollowVerts; i++) 926 for (int i = 0; i < numHollowVerts; i++)
927 this.faceNumbers.Add(faceNum++); 927 //this.faceNumbers.Add(faceNum++);
928 this.faceNumbers.Add(hollowSides < 5 ? faceNum++ : faceNum);
928 this.bottomFaceNumber = faceNum++; 929 this.bottomFaceNumber = faceNum++;
929 if (hasHollow && hasProfileCut) 930 if (hasHollow && hasProfileCut)
930 this.faceNumbers.Add(faceNum++); 931 this.faceNumbers.Add(faceNum++);