Page MenuHome

Collada Exporter Broken
Open, Needs Triage by DeveloperPublic

Description


Operating system: Windows 10
Graphics card: GTX 1080TI

Broken: 2.8

Animation for certain bones are missing.

Export the human and its armature from the including .blend file as Collada (.dae, including the Run animation). Try to import it again and you will see that the finger animations are missing. I tried it with other exporters and the finger animations are not missing there. Only with the Collada format.

Details

Type
Bug

Event Timeline

I fixed it by changing line 269 from

bool is_animated = sampler.get_bone_samples(samples, ob, bone);

to

bool is_animated = sampler.get_bone_samples(samples, ob, bone);
is_animated = true;

and line 227 from

bool is_animated = sampler.get_object_samples(samples, ob);

to

bool is_animated = sampler.get_object_samples(samples, ob);
is_animated = true;

in blender/collada/AnimationExporter.cpp
This is obviously just a hacky solution and shouldn't be implemented that way.

I don't know if I did anything wrong, but when testing here, the result was far worse than just a few non-animated fingers.
@Gaia Clary (gaiaclary), can you take a look?