summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-12 14:38:45 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-12 14:38:45 +0300
commitd07a354d0afd2db68b8a0b4fe3166e59553da8fd (patch)
treea27fdfb4da0b08762b010aa4e626b9b8b9125e23 /indra/newview/llface.h
parent67a06e4df25aecd688938d437cb6ed0d150171fa (diff)
parentc371f359dc211f551c9ee3a999a77cee8027c6fa (diff)
Merge from default branch
--HG-- branch : product-engine
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
}
};