diff options
author | Dave Parks <davep@lindenlab.com> | 2011-01-19 23:24:13 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-01-19 23:24:13 -0600 |
commit | 1b2c082feb91b4837a0cb5652d1668f6582e9bc9 (patch) | |
tree | 32179a4a46c263fbb73a9f9c727a6647841e79a5 /indra/llmath | |
parent | 17068766b75fbe7dac968705f4f383fb61f73eb4 (diff) | |
parent | 32c4a448b113731a8c9ae32613fe4aa50b5c9997 (diff) |
merge
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index f41cd1b4e8..d6dfb5c7a9 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -5762,7 +5762,7 @@ void LLVolumeFace::cacheOptimize() for (U32 i = 0; i < mNumIndices; i++) { //populate vertex data and triangle data arrays U16 idx = mIndices[i]; - U16 tri_idx = i/3; + U32 tri_idx = i/3; vertex_data[idx].mTriangles.push_back(&(triangle_data[tri_idx])); vertex_data[idx].mIdx = idx; |