diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-05 12:04:29 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-05 12:04:29 -0700 |
commit | 76128c4357bc36acd54575153516c6d337fe4263 (patch) | |
tree | 7910d8415bf394fd15f5dca35dd3779b39acc15a /indra/newview/llcontrolavatar.cpp | |
parent | 9bb6da1e76efa951da7e740f80b1e4e72e67b878 (diff) |
SL-10566 Use vector for some high-traffic, low-item count containers instead of list.
Provide method of storing joint indices sep from weight data for faster runtime processing.
Diffstat (limited to 'indra/newview/llcontrolavatar.cpp')
-rw-r--r-- | indra/newview/llcontrolavatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp index 1e8ec4fe0f..6da7163f9f 100644 --- a/indra/newview/llcontrolavatar.cpp +++ b/indra/newview/llcontrolavatar.cpp @@ -255,7 +255,7 @@ void LLControlAvatar::recursiveScaleJoint(LLJoint* joint, F32 factor) { joint->setScale(factor * joint->getScale()); - for (LLJoint::child_list_t::iterator iter = joint->mChildren.begin(); + for (LLJoint::joints_t::iterator iter = joint->mChildren.begin(); iter != joint->mChildren.end(); ++iter) { LLJoint* child = *iter; |