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 | 2be54fbe6f7e19a1e924f1d62e4327da2406310d (patch) | |
| tree | 8b270f88b05cf7c0a1aadb36c78fab43710e782e /indra/newview/llfloatermodelpreview.cpp | |
| parent | 1355578332b4225488918d892e21c84634fb1b40 (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 { |
