diff options
author | Oz Linden <oz@lindenlab.com> | 2011-06-17 17:32:28 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-06-17 17:32:28 -0400 |
commit | 068c6d45099411d7827db3e50d9c91331fa5c189 (patch) | |
tree | c46cce78e6db0d87c1d9b0da9229ea0cf1d727de /indra/newview/llvosurfacepatch.cpp | |
parent | 5e5be51edebf0fb6a59d4907c9fcaac1b1667ac4 (diff) | |
parent | 806b11c5720e1bd9e9764fcfd896436b8385e8b2 (diff) |
merge mesh branch changes (storm-1390)
Diffstat (limited to 'indra/newview/llvosurfacepatch.cpp')
-rw-r--r-- | indra/newview/llvosurfacepatch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvosurfacepatch.cpp b/indra/newview/llvosurfacepatch.cpp index dbcd4f50ca..510525259f 100644 --- a/indra/newview/llvosurfacepatch.cpp +++ b/indra/newview/llvosurfacepatch.cpp @@ -375,6 +375,8 @@ void LLVOSurfacePatch::updateMainGeometry(LLFace *facep, S32 num_vertices, num_indices; U32 index; + llassert(mLastStride > 0); + render_stride = mLastStride; patch_size = mPatchp->getSurface()->getGridsPerPatchEdge(); S32 vert_size = patch_size / render_stride; |