Merge branch 'osganimation' into osganimation

This commit is contained in:
OpenSceneGraph git repository
2017-10-27 17:14:43 +01:00
committed by GitHub
8 changed files with 13 additions and 12 deletions

View File

@@ -289,6 +289,7 @@ void VertexInfluenceMap::removeUnexpressedBones(Skeleton &skel) const
++ removed;
OSG_INFO<<"removing useless bone: "<< bone2rm->getName() <<std::endl;
osg::NodeList nodes;
for(unsigned int numchild = 0; numchild < bone2rm->getNumChildren(); numchild++)
{
if( (child = dynamic_cast<Bone*>(bone2rm->getChild(numchild))) )