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/llprimitive | |
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/llprimitive')
-rw-r--r-- | indra/llprimitive/lldaeloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index 8f75d89e5a..139f48fef8 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -1784,7 +1784,7 @@ void LLDAELoader::extractTranslationViaElement( daeElement* pTranslateElement, L { if ( pTranslateElement ) { - domTranslate* pTranslateChild = dynamic_cast<domTranslate*>( pTranslateElement ); + domTranslate* pTranslateChild = static_cast<domTranslate*>( pTranslateElement ); domFloat3 translateChild = pTranslateChild->getValue(); LLVector3 singleJointTranslation( translateChild[0], translateChild[1], translateChild[2] ); transform.setTranslation( singleJointTranslation ); |