Alembic export: don't assume transform is always animated
Instead of always writing the transform on every frame, it's now checked whether the object is animated at all. This could be made stricter to reduce false positives, for example by checking FCurves and drivers to see whether translation/rotation/scale is animated. However, this approach is already better than the `return true` we had before.
This commit adds the BKE_animdata_id_is_animated(id) function, which returns true if the ID datablock has non-empty animation data. This is determined by checking the the active action's fcurves, the drivers, and NLA tracks.
Full Hash: f18ad385dffe70f5e57df00ff9bbb7b42fa05be0 Parent Commit: a018a7f Lines Changed: +26, -11