Skip to content
Snippets Groups Projects
Commit 04bd3a7c authored by Amorilia's avatar Amorilia
Browse files

Fixed NiSkinInstance.FixLinks for NULL bones.

parent d84a4637
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ Version 0.7.3
* Update to qhull 2011.1 (contributed by Cold Blood).
* Fixed NiSkinInstance.FixLinks for NULL bones.
Version 0.7.2
=============
......
......@@ -203,7 +203,9 @@ void NiSkinInstance::FixLinks( const map<unsigned int,NiObjectRef> & objects, li
//Ensure that bones have the flag set properly
for ( unsigned int i = 0; i < bones.size(); ++i ) {
bones[i]->SetSkinFlag(true);
if ( bones[i] != NULL ) {
bones[i]->SetSkinFlag(true);
}
}
//--END CUSTOM CODE--//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment