Blender Git Loki

Git Commits -> Revision ce9d5c3

Revision ce9d5c3 by Alexander Gavrilov
November 19, 2021, 16:47 (GMT)
Animation: allow marking actions as cyclic for Cycle-Aware Keying.

When a manual frame range is set, allow marking an action as having
Cyclic Animation. This does not affect how the action is evaluated,
but the Cycle-Aware Keying option will automatically make any newly
added F-Curves cyclic. This allows using the option from the start
to build the cycle, rather than only for tweaking an existing loop.

The curves are made cyclic when they have only one key, either
after inserting the first key, or before adding the second one.
The latter case avoids the need to manually make the first added
curve cyclic after marking a newly added action cyclic.

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

Commit Details:

Full Hash: ce9d5c3e18a4803da7d6f7430a2fdf5986ae1f1d
Parent Commit: 7023600
Lines Changed: +86, -3

8 Modified Paths:

/release/scripts/startup/bl_ui/space_dopesheet.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_action.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/nla.c (+5, -0) (Diff)
/source/blender/editors/animation/keyframing.c (+56, -2) (Diff)
/source/blender/makesdna/DNA_action_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_action.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021