diff options
author | Dave Parks <davep@lindenlab.com> | 2012-09-20 09:48:54 -0400 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-09-20 09:48:54 -0400 |
commit | f80d16808d21eaa9a3e8550284d25a43e2669ae2 (patch) | |
tree | 0a9f7330f5e56879ca7f623eb35a61590361157c /indra/newview/llvoavatar.h | |
parent | 9bf49903edd5c67a2decdbe7bc0ca5b089763914 (diff) |
reapply 15b05dc53770: MAINT-646 Profile based optimization -- add a lookup map for joints to remove hotspot in LLJoint::findJoint
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rw-r--r-- | indra/newview/llvoavatar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index 4081a1408d..f5692bb52f 100644 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -366,6 +366,10 @@ public: LLVector3 mHeadOffset; // current head position LLViewerJoint mRoot; + + typedef std::map<std::string, LLJoint*> joint_map_t; + joint_map_t mJointMap; + protected: static BOOL parseSkeletonFile(const std::string& filename); void buildCharacter(); |