MAINT-646: Add a lookup map for joints to remove hotspot in LLJoint::findJoint https://bitbucket.org/davep/viewer-development/changeset/15b05dc53770

This commit is contained in:
Shyotl
2012-07-17 23:54:10 -05:00
parent b101bb0001
commit cc5ffafd7c
4 changed files with 21 additions and 6 deletions

View File

@@ -376,6 +376,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();