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/llcharacter/llkeyframemotion.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/llcharacter/llkeyframemotion.cpp')
| -rw-r--r-- | indra/llcharacter/llkeyframemotion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llkeyframemotion.cpp b/indra/llcharacter/llkeyframemotion.cpp index 5d323ed5d6..cde38c8091 100644 --- a/indra/llcharacter/llkeyframemotion.cpp +++ b/indra/llcharacter/llkeyframemotion.cpp @@ -2321,7 +2321,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs, LLCharacter* character = *char_iter; // look for an existing instance of this motion - LLKeyframeMotion* motionp = dynamic_cast<LLKeyframeMotion*> (character->findMotion(asset_uuid)); + LLKeyframeMotion* motionp = static_cast<LLKeyframeMotion*> (character->findMotion(asset_uuid)); if (motionp) { if (0 == status) |
