Blender Git Loki

Git Commits -> Revision 6f6e33e

Revision 6f6e33e by Alexander Gavrilov
October 6, 2021, 09:49 (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: 6f6e33e9d3b8eb28adf2e2ec941ff59dc4276713
Parent Commit: 14fda3c
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021