summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-10-30 04:20:12 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-10-30 04:20:12 -0400
commit58e2d58daf603824872308245a451c2e32394706 (patch)
treef2fb9d23ce92946b6bf75ce4840a67df684aefad /indra/newview/llvovolume.cpp
parent5c8d902c1bab6f0577750e8e2470384a31880947 (diff)
SL-93 - WIP on managing pelvis fixups using new joint offset framework
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-xindra/newview/llvovolume.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 4c21203c43..7c9bdc19a6 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -4632,11 +4632,9 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
//If joint is a pelvis then handle old/new pelvis to foot values
if ( lookingForJoint == "mPelvis" )
{
- if ( !pAvatarVO->hasPelvisOffset() )
- {
- pAvatarVO->setPelvisOffset( true, jointPos, pelvisZOffset );
- pelvisGotSet = true;
- }
+ // FIXME move
+ pAvatarVO->addPelvisFixup( pelvisZOffset, mesh_id );
+ pelvisGotSet = true;
}
}
}