summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-03-07 15:29:18 -0800
committerTofu Buzzard <no-email>2011-03-07 15:29:18 -0800
commitfffcb116fefd6501f629f13457be90a4d88e746b (patch)
treec39ae74b54bfe0f234d7d72ac6171a56ce365744 /indra
parent2b0ef47f78f3137b3f9c1f2dfb9e9004ee8cdefe (diff)
parenta9412b6d2e43175081a764493126ac716ee828d3 (diff)
merge
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llselectmgr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 93c9131424..e57e38d141 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -5468,7 +5468,10 @@ void pushWireframe(LLDrawable* drawable)
for (S32 i = 0; i < drawable->getNumFaces(); ++i)
{
LLFace* face = drawable->getFace(i);
- pushVerts(face, LLVertexBuffer::MAP_VERTEX);
+ if (face->verify())
+ {
+ pushVerts(face, LLVertexBuffer::MAP_VERTEX);
+ }
}
}
}