diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-30 01:26:27 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-30 01:26:27 -0500 |
commit | 89473b2dc3ecfa8b813268833edddb5b0abd317d (patch) | |
tree | 0252d59b1ee470ab36b0446da5c4d2e3827fbe1f /indra/newview/llvosky.cpp | |
parent | 8c5fde7ae499a20c5cf2b51f575059dd01693ae8 (diff) | |
parent | eca17c8993aecfd8d69c1b1765f8ac841ad29119 (diff) |
merge
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r-- | indra/newview/llvosky.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp index 6396bc042d..800af26b69 100644 --- a/indra/newview/llvosky.cpp +++ b/indra/newview/llvosky.cpp @@ -1483,6 +1483,8 @@ BOOL LLVOSky::updateHeavenlyBodyGeometry(LLDrawable *drawable, const S32 f, cons facep->setVertexBuffer(buff); } + llassert(facep->getVertexBuffer()->getNumIndices() == 6); + index_offset = facep->getGeometry(verticesp,normalsp,texCoordsp, indicesp); if (-1 == index_offset) |