diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-09-29 19:08:41 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-09-29 19:08:41 +0100 |
commit | 853924c7efd5c1d067c237d5a44c44db313745e9 (patch) | |
tree | 8ef0def6c5cd2640284b63be82a02315745d8398 /indra/newview/llselectmgr.cpp | |
parent | 31f84c2a9a86a7f25eadcb1720a7a9292480be16 (diff) |
SL-794 - use largest LOD for est tri count, instead of trusting that it's always the high LOD
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r-- | indra/newview/llselectmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index d3f240ac91..81fd228997 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -7444,7 +7444,7 @@ bool LLObjectSelection::checkAnimatedObjectEstTris() { anim_count++; } - est_tris += object->recursiveGetEstTrianglesHigh(); + est_tris += object->recursiveGetEstTrianglesMax(); max_tris = llmax((F32)max_tris,(F32)object->getAnimatedObjectMaxTris()); } return anim_count==0 || est_tris <= max_tris; |