diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-10-08 11:45:12 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2014-10-08 11:45:12 -0400 |
commit | b6ad3bd54dd4d48a0b984bc92a31bab7c9f90e75 (patch) | |
tree | 8cfddc114974274b0b95d0b7b1c489118af8ca0b /indra/newview/llfloatermodelpreview.cpp | |
parent | 20a7cceb50bf4e5d238575c2180683ee4eb19b38 (diff) |
Switched to keying joint offsets by mesh id
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-x | indra/newview/llfloatermodelpreview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 195a7f5ffe..73bf7f3e23 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1935,7 +1935,9 @@ bool LLModelLoader::doLoadModel() LLJoint* pJoint = mPreview->getPreviewAvatar()->getJoint( lookingForJoint ); if ( pJoint ) { - pJoint->addAttachmentPosOverride( jointTransform.getTranslation(), mFilename); + LLUUID fake_mesh_id; + fake_mesh_id.generate(); + pJoint->addAttachmentPosOverride( jointTransform.getTranslation(), fake_mesh_id, gAgentAvatarp->avString()); } else { |