Page MenuHome

FBX Import: fix exception on interleaved armature and other nodes.
ClosedPublic

Authored by Alexander Gavrilov (angavrilov) on Nov 15 2021, 4:38 PM.

Details

Summary

If the file contains a parent chain that interleaves nodes with
is_armature true and false, the parent armature may wrongly pick
up meshes owned by the child, causing an exception later. No idea
if such FBX files are valid or malformed, but this is a simple fix.

Diff Detail

Event Timeline

Alexander Gavrilov (angavrilov) requested review of this revision.Nov 15 2021, 4:38 PM
Alexander Gavrilov (angavrilov) created this revision.
This revision is now accepted and ready to land.Nov 16 2021, 2:23 PM

Would be nice to have such a weird FBX file added here as reference though

Oh, and please raise the sub-version of the addon when committing this fix too ;)