summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-08-28 17:32:22 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-08-28 17:32:22 -0400
commit2cb14c7fdcf835816176d6edc0c05b99bcb39873 (patch)
tree197c837adbbf6933342415488ce5f9c09afa2d83 /indra/newview/llfloatermodelpreview.cpp
parent33f66ac2344f996a2310b179173232b98c8bd026 (diff)
MAINT-4158 WIP - track position overrides requested by attachments so they can be undone intelligently
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 039ff848cb..93c18c5c8b 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -1935,7 +1935,8 @@ bool LLModelLoader::doLoadModel()
LLJoint* pJoint = mPreview->getPreviewAvatar()->getJoint( lookingForJoint );
if ( pJoint )
{
- LL_WARNS() << "Aieee, now what!" << LL_ENDL;
+ pJoint->addAttachmentPosOverride( jointTransform.getTranslation(), mFilename);
+ //LL_WARNS() << "Aieee, now what!" << LL_ENDL;
//pJoint->storeCurrentXform( jointTransform.getTranslation() );
}
else