diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-04-21 16:59:29 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-22 12:39:42 +0300 |
commit | 87b6428f5537238c970cabbc30e057914935a50c (patch) | |
tree | 4e8a808b12d9b138204e1f58d45766615682a780 /indra/newview/llvoavatar.h | |
parent | 44bbdc549a9a530850ffbb02c06059517c37d82d (diff) |
#3870 Added joint initialization for LLVOAvatarSelf
Sometimes mesh thread crashes when allocating joints
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rw-r--r-- | indra/newview/llvoavatar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h index a2232d21a2..ab27c5752d 100644 --- a/indra/newview/llvoavatar.h +++ b/indra/newview/llvoavatar.h @@ -204,6 +204,7 @@ public: virtual LLJoint* getJoint(const std::string &name); LLJoint* getJoint(S32 num); + void initAllJoints(); //if you KNOW joint_num is a valid animated joint index, use getSkeletonJoint for efficiency inline LLJoint* getSkeletonJoint(S32 joint_num) { return mSkeleton[joint_num]; } |