diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-07-09 09:18:03 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-07-09 09:18:03 -0700 |
commit | 809a7a3b78f5f14ef22d3a8725e958b1705bd102 (patch) | |
tree | e41e9b7d9c8ad21743387cdad10178c6d0b3d96b /indra/newview/llface.h | |
parent | 9cbcad18af8e427e392f749e57ac747c06592c4b (diff) | |
parent | d8f795aa9ceaae73ad8890a1110fa6b4045843c7 (diff) |
Merged from viewer-release
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r-- | indra/newview/llface.h | 2 |
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 } }; |