diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-12 06:20:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-12 06:26:21 +0300 |
commit | 6a28d14f7236b3e6fbe7409da9ee916878d65feb (patch) | |
tree | 1ba6c24a41b5ff28e24f4858d993f79cea4f3ac9 /source | |
parent | 88210a6ddf7bfe11b29a3be3a470de9816b47cc8 (diff) |
Fix T73740: Auto-key "Only Available" de-selects f-curves
This was especially bad with "Only Selected Curve Keyframes",
effectively making f-curves un-editable on each insertion.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_convert.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 188192e10ae..6c4fe93e19a 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -3016,8 +3016,6 @@ bool ED_autokeyframe_property( ToolSettings *ts = scene->toolsettings; short flag = ANIM_get_keyframing_flags(scene, 1); - fcu->flag &= ~FCURVE_SELECTED; - /* Note: We use rnaindex instead of fcu->array_index, * because a button may control all items of an array at once. * E.g., color wheels (see T42567). */ diff --git a/source/blender/editors/transform/transform_convert.c b/source/blender/editors/transform/transform_convert.c index 869c23de74c..9402cceca6a 100644 --- a/source/blender/editors/transform/transform_convert.c +++ b/source/blender/editors/transform/transform_convert.c @@ -1417,7 +1417,6 @@ void autokeyframe_object(bContext *C, Scene *scene, ViewLayer *view_layer, Objec if (adt && adt->action) { ListBase nla_cache = {NULL, NULL}; for (fcu = adt->action->curves.first; fcu; fcu = fcu->next) { - fcu->flag &= ~FCURVE_SELECTED; insert_keyframe(bmain, reports, id, |