diff options
author | Palmer Truelson <palmer@lindenlab.com> | 2010-02-23 18:03:37 -0800 |
---|---|---|
committer | Palmer Truelson <palmer@lindenlab.com> | 2010-02-23 18:03:37 -0800 |
commit | bd10ded1daa87195b06e96d112108bbd832b3cfd (patch) | |
tree | ffc9b67c7d7bfe6d8e125f2195482923b8f83f76 /indra/llmath | |
parent | 4538bdd8e9c0aaecec918fe9e9f784d7cae23387 (diff) |
index off for tristrip fix on davep's tristrip optimization
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index cc1549925b..34348230b6 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -4961,7 +4961,7 @@ BOOL LLVolumeFace::createCap(LLVolume* volume, BOOL partial_build) if (mTypeMask & TOP_MASK) { mTriStrip.push_back(0); - for (S32 i = 1; i <= j; ++i) + for (S32 i = 0; i <= j; ++i) { mTriStrip.push_back(i); if (i != j) @@ -4974,7 +4974,7 @@ BOOL LLVolumeFace::createCap(LLVolume* volume, BOOL partial_build) else { mTriStrip.push_back(j); - for (S32 i = 1; i <= j; ++i) + for (S32 i = 0; i <= j; ++i) { if (i != j) { |