summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-07-09 09:18:03 -0700
committerDessie Linden <dessie@lindenlab.com>2010-07-09 09:18:03 -0700
commit809a7a3b78f5f14ef22d3a8725e958b1705bd102 (patch)
treee41e9b7d9c8ad21743387cdad10178c6d0b3d96b /indra/newview/llface.h
parent9cbcad18af8e427e392f749e57ac747c06592c4b (diff)
parentd8f795aa9ceaae73ad8890a1110fa6b4045843c7 (diff)
Merged from viewer-release
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r--indra/newview/llface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h
index 02cc2af433..b20ecfe2b8 100644
--- a/indra/newview/llface.h
+++ b/indra/newview/llface.h
@@ -279,7 +279,7 @@ public:
{
bool operator()(const LLFace* const& lhs, const LLFace* const& rhs)
{
- return lhs->mDistance > rhs->mDistance; // farthest = first
+ return !lhs || (rhs && (lhs->mDistance > rhs->mDistance)); // farthest = first
}
};