diff --git a/obj/NiSkinInstance.cpp b/obj/NiSkinInstance.cpp index 4633917f768269d480f48833f9c2d39be12b8e37..8b8f88578666269a29ddd6adec17d88e2283858c 100644 --- a/obj/NiSkinInstance.cpp +++ b/obj/NiSkinInstance.cpp @@ -70,6 +70,11 @@ void NiSkinInstance::FixLinks( const vector<NiObjectRef> & objects, list<uint> & if ( skeletonRoot != NULL ) { skeletonRoot->AddSkin( this ); } + + //Ensure that bones have the flag set properly + for ( uint i = 0; i < bones.size(); ++i ) { + bones[i]->SetSkinFlag(true); + } } list<NiObjectRef> NiSkinInstance::GetRefs() const {