diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-28 18:28:44 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-28 18:28:44 -0700 |
commit | 88d913791ffa7ac8f79b5ae6f25aca42b4908e66 (patch) | |
tree | 83104fe1a2d714be511b6669eae3944b87ad866b /indra/newview | |
parent | d25e8e5ecf5b17e5c30d8eb9c08a6099792c0036 (diff) | |
parent | 3c3ee709677a0c60420eae84a55a7b61113b4949 (diff) |
Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-development.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index cd33a19a2a..cfb4147e71 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1838,7 +1838,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, } } - if (rebuild_color) + if (rebuild_color && mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_COLOR) ) { LLFastTimer t(FTM_FACE_GEOM_COLOR); mVertexBuffer->getColorStrider(colors, mGeomIndex, mGeomCount, map_range); |