aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index a57146c..79edc12 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -389,7 +389,7 @@ namespace OpenSim.Region.Physics.Meshing
389 int count = cnt == 0 ? 256 : cnt; 389 int count = cnt == 0 ? 256 : cnt;
390 List<Vector3> hull = new List<Vector3>(); 390 List<Vector3> hull = new List<Vector3>();
391 391
392 for (int i = 0; i < cnt; i++) 392 for (int i = 0; i < count; i++)
393 { 393 {
394 ushort uX = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2; 394 ushort uX = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2;
395 ushort uY = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2; 395 ushort uY = Utils.BytesToUInt16(posBytes, posNdx); posNdx += 2;