Blender Git Commit Log
Git Commits -> Revision 3ceff68
Revision 3ceff68 by Alexander Gavrilov October 21, 2021, 16:27 (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: 3ceff6863ea02f9007d4f5b1f18a9a7d6df736a3
Parent Commit: a45625d
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)
/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)