Commit: 6a28d14f7236b3e6fbe7409da9ee916878d65feb Author: Campbell Barton Date: Wed Feb 12 14:20:03 2020 +1100 Branches: master https://developer.blender.org/rB6a28d14f7236b3e6fbe7409da9ee916878d65feb
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. =================================================================== M source/blender/editors/animation/keyframing.c M source/blender/editors/transform/transform_convert.c =================================================================== 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, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs