Blender Git Commit Log

Git Commits -> Revision 612ffe4

Revision 612ffe4 by Alexander Gavrilov
September 17, 2021, 11:05 (GMT)
Animation: support filtering for curves that don't match the action cycle.

Since the looping behavior is defined per curve rather than at
action level, it is possible for curve loop periods to get out of
sync with each other. This commit adds an option to compare curves
against the frame range specified in the action, and treat any
mismatches as errors for the purpose of F-Curve filtering.

When enabled, the check verifies that curves within the action
have valid cyclic extrapolation, the action period evenly
divides by the curve period (since a curve looping at e.g. half
of the action period length still repeats in sync with the action),
and the end values match if the cycle is supposed to be perfect.

Differential Revision: https://developer.blender.org/D11803

Commit Details:

Full Hash: 612ffe4ebf5d8dbfa1c2ea8ccb64466c85ca15fe
Parent Commit: b8d213f
Lines Changed: +94, -11

6 Modified Paths:

/release/scripts/startup/bl_ui/space_dopesheet.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+77, -9) (Diff)
/source/blender/makesdna/DNA_action_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_action.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021