Fixed build errors when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF

This commit is contained in:
Robert Osfield
2017-10-27 14:19:13 +01:00
parent 2b6ffad99a
commit 671847387f
7 changed files with 12 additions and 12 deletions

View File

@@ -279,7 +279,7 @@ void VertexInfluenceMap::removeUnexpressedBones(Skeleton &skel) const
}
///Bone can be removed
Bone * bone2rm = bmit->second;
Bone * bone2rm = bmit->second.get();
for(unsigned int numchild = 0; numchild < bone2rm->getNumChildren(); numchild++)
{
if( (child = dynamic_cast<Bone*>(bone2rm->getChild(numchild))) )