diff options
| author | Leslie Linden <leslie@lindenlab.com> | 2011-08-23 11:19:04 -0700 |
|---|---|---|
| committer | Leslie Linden <leslie@lindenlab.com> | 2011-08-23 11:19:04 -0700 |
| commit | 11d7a7f197d31617602ff9c109674a783fd6fa71 (patch) | |
| tree | 2b5e80597f3a8e586bb8018fd117e39da031ec5b /indra/newview/llspatialpartition.cpp | |
| parent | 764b7a1ec0a92bd9948010ac76a7c4362d66acf6 (diff) | |
Mac crash fixes.
Reviewed by davep.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rw-r--r-- | indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index d7d5e5f432..78b2db2bde 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -2416,7 +2416,7 @@ void pushVerts(LLFace* face, U32 mask) LLVertexBuffer* buffer = face->getVertexBuffer(); - if (buffer) + if (buffer && (face->getGeomCount() >= 3)) { buffer->setBuffer(mask); U16 start = face->getGeomStart(); |
