Blender Git Loki

Git Commits -> Revision 2757c3e

Revision 2757c3e by Alexander Gavrilov (temp-angavrilov)
December 28, 2021, 11:57 (GMT)
Animation: support filtering for curves that have cycle issues.

It is possible to have curves with cyclic extrapolation that
have a mismatch in their end keyframes, causing a jump.

Also, 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 manual 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 end values of cyclic curves
match, curves within a cyclic action have valid cyclic extrapolation,
and 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).

Ref: D11803

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

Commit Details:

Full Hash: 2757c3e78199fd7552d06497a415fcd12ddd9f6a
Parent Commit: a7dca13
Lines Changed: +96, -10

6 Modified Paths:

/release/scripts/startup/bl_ui/space_dopesheet.py (+6, -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 (+75, -8) (Diff)
/source/blender/makesdna/DNA_action_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_action.c (+11, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021