Merge pull request #448 from LaurensVoerman/submit_remove_unused_maxBonePerVertex

remove unused variable "maxBonePerVertex"
This commit is contained in:
OpenSceneGraph git repository 2018-01-15 16:30:23 +00:00 committed by GitHub
commit fb4d14d49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,6 @@ bool RigTransformHardware::buildPalette(const BoneMap& boneMap, const RigGeometr
_bonePalette.clear(); _bonePalette.clear();
_boneNameToPalette.clear(); _boneNameToPalette.clear();
IndexWeightList::size_type maxBonePerVertex = 0;
BoneNameCountMap boneNameCountMap; BoneNameCountMap boneNameCountMap;
const VertexInfluenceMap &vertexInfluenceMap = *rig.getInfluenceMap(); const VertexInfluenceMap &vertexInfluenceMap = *rig.getInfluenceMap();