Blender Git Loki

Git Commits -> Revision a45625d

Revision a45625d by Alexander Gavrilov
October 21, 2021, 16:27 (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: a45625d7d486edb16a39ef2d9db8c7e3bfc4dfb8
Parent Commit: f3f87db
Lines Changed: +85, -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 (+4, -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