diff options
author | Jacek Antonelli | 2008-08-15 23:45:22 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:22 -0500 |
commit | 1e8e051fafa147fc3375bf7693c781e3be17b6d4 (patch) | |
tree | 071633b1e27b13f52619ea60a58338bfab34538a /linden/indra/newview/llselectmgr.cpp | |
parent | Second Life viewer sources 1.18.6.0-RC (diff) | |
download | meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.zip meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.gz meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.bz2 meta-impy-1e8e051fafa147fc3375bf7693c781e3be17b6d4.tar.xz |
Second Life viewer sources 1.18.6.1-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index 3c29cfd..9b3808f 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -5825,7 +5825,8 @@ bool LLObjectSelection::applyToTEs(LLSelectedTEFunctor* func, bool firstonly) | |||
5825 | iterator nextiter = iter++; | 5825 | iterator nextiter = iter++; |
5826 | LLSelectNode* node = *nextiter; | 5826 | LLSelectNode* node = *nextiter; |
5827 | LLViewerObject* object = (*nextiter)->getObject(); | 5827 | LLViewerObject* object = (*nextiter)->getObject(); |
5828 | for (S32 te = 0; te < object->getNumTEs(); ++te) | 5828 | S32 num_tes = llmin((S32)object->getNumTEs(), (S32)object->getNumFaces()); // avatars have TEs but no faces |
5829 | for (S32 te = 0; te < num_tes; ++te) | ||
5829 | { | 5830 | { |
5830 | if (node->isTESelected(te)) | 5831 | if (node->isTESelected(te)) |
5831 | { | 5832 | { |