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.
This commit is contained in:
parent
88210a6ddf
commit
6a28d14f72
Notes:
blender-bot
2023-02-14 09:48:23 +01:00
Referenced by issue #77572, Reference image opacity value doesn't work with Blender 2.83+ (Intel HD 630 with Mesa 20, regression from D6729) Referenced by issue #73740, "Insert only available preference" for auto-hotkey hides all f curves every time auto-hotkey runs...
|
@ -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). */
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue