assimp
assimp copied to clipboard
Bones missing when loading collada file
Hi devs,
There are some bones missing when I load a rigged mesh from a collada files. The mesh->mNumBones is less than the real number of bones that the mesh has.
I suspect this is related with issue #2544, but I think it was already fixed for FBX files.
An example of such file is: https://gist.github.com/felipeek/f11124d04a7583066576bdbe97275457
OK, thanks for the report.
Was fixed?
The reason for the bug is that empty meshes will removed by default. There is an option to avoid this. Just check the config.h to find it. At this moment, a skeleton class is under development. This will be used in the collada file as well. But this implementation is not ready yet.
@kimkulling, I went over config by searching "mesh" and "bones", but I could not find anything something like you mentioned. Are you mentioning "AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES " ?
Yes, that one.