Blender Git Commit Log

Git Commits -> Revision f18ad38

Revision f18ad38 by Sybren A. Stüvel (master)
November 26, 2019, 15:26 (GMT)
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.

Commit Details:

Full Hash: f18ad385dffe70f5e57df00ff9bbb7b42fa05be0
Parent Commit: a018a7f
Lines Changed: +26, -11

4 Modified Paths:

/source/blender/alembic/intern/ (+2, -8) (Diff)
/source/blender/alembic/intern/ (+3, -3) (Diff)
/source/blender/blenkernel/BKE_animsys.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+18, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021