diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-14 13:04:34 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-31 11:50:57 +0300 |
commit | 7bc84559aa80841591f1ccf5c09f843931d6dabb (patch) | |
tree | 867290fec9a706df649baac761620aa864a7c0c2 /release/scripts/startup/bl_ui/space_time.py | |
parent | 2d37f555594e5487dc0bd3508887cd452891fbb8 (diff) |
Add an option to do keyframe insertion in a cycle-aware fashion.
When enabled, inserting keyframes into F-Curves with simple cyclic
extrapolation (the same conditions as required for cycle-aware auto
handle smoothing to activate) will take the cycle into account:
- Keyframes that are being inserted outside of the cycle bounds
are remapped to be inside the cycle. Thus it is not necessary
to be within the main iteration of the cycle when tweaking.
This becomes especially useful in the final animation tweaking
phase when the channel keys may be staggered for overlap, so
the actual master period is different for different channels.
- Modifying one of the end points of a cycle also changes the
other end point when appropriate, to preserve smooth transition.
This feature applies to both manual keyframe insertion using
'I', and auto-keyframing.
Differential Revision: https://developer.blender.org/D3140
Diffstat (limited to 'release/scripts/startup/bl_ui/space_time.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 10cd2f6d47b..79c0c5264e1 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -298,6 +298,8 @@ class TIME_PT_keyframing_settings(TimelinePanelButtons, Panel): if not userprefs.edit.use_keyframe_insert_available: col.prop(toolsettings, "use_record_with_nla", text="Layered Recording") + layout.prop(toolsettings, "use_keyframe_cycle_aware") + ################################### |