diff options
author | prep linden <prep@lindenlab.com> | 2010-11-23 09:52:31 -0500 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2010-11-23 09:52:31 -0500 |
commit | e3df3baff7aebd247737fd3dbcb382f3b12df10b (patch) | |
tree | 51884af2fee887bba998e659387c5e09cb252eed | |
parent | be1fd73390cab288c75ef99e704f3aa195a0c4ac (diff) |
Fix for SH-479
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 85cc205dab..68c7e3c1a2 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1302,12 +1302,12 @@ void LLModelLoader::run() llwarns<<"Tried to apply joint position from .dae, but it did not exist in the avatar rig." << llendl; } //Reposition the avatars pelvis (avPos+offset) - if ( lookingForJoint == "mPelvis" ) - { - const LLVector3& pos = gAgentAvatarp->getCharacterPosition(); - gAgentAvatarp->setPelvisOffset( true, jointTransform.getTranslation() ); - gAgentAvatarp->setPosition( pos + jointTransform.getTranslation() ); - } + //if ( lookingForJoint == "mPelvis" ) + //{ + // const LLVector3& pos = gAgentAvatarp->getCharacterPosition(); + // gAgentAvatarp->setPelvisOffset( true, jointTransform.getTranslation() ); + // gAgentAvatarp->setPosition( pos + jointTransform.getTranslation() ); + //} } } } //missingSkeletonOrScene |