diff --git a/src/osgAnimation/RigTransformSoftware.cpp b/src/osgAnimation/RigTransformSoftware.cpp index 512e0a407..c1bc46560 100644 --- a/src/osgAnimation/RigTransformSoftware.cpp +++ b/src/osgAnimation/RigTransformSoftware.cpp @@ -121,10 +121,6 @@ void RigTransformSoftware::buildMinimumUpdateSet(const BoneMap&boneMap,const Rig std::vector _vertex2Bones; _vertex2Bones.resize(rig.getSourceGeometry()->getVertexArray()->getNumElements()); - typedef std::pair FloatInt; - std::vector< FloatInt > sums;///stat totalweight nbref - sums.resize(rig.getSourceGeometry()->getVertexArray()->getNumElements() - ); const VertexInfluenceMap *_vertexInfluenceMap=rig.getInfluenceMap(); for (osgAnimation::VertexInfluenceMap::const_iterator it = _vertexInfluenceMap->begin(); it != _vertexInfluenceMap->end();