diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-10-26 20:18:31 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-10-26 20:18:31 +0300 |
commit | 87d654535c7162c8f3f1230d43137b43cd9cd864 (patch) | |
tree | b6b102403c266d517c3409e01c2ebed263204a58 | |
parent | eccfa53ad42ca98b6b7b8eec55fa4720b6ab43b2 (diff) |
Animation: Change active FCurve in box/circle/lasso selecttemp-T81874-box-select-active-keyframe
Update the active FCurve when box/circle/lasso-selecting, such that after
the operator has finished the active curve is actually the last-operated-on
FCurve.
The operator already would deactivate the active FCurve. However, it would
not re-activate one any more, which caused the active keyframe to become
inactive.
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index 5dabdafd27b..f28d8162d14 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -628,6 +628,7 @@ static void box_select_graphkeys(bAnimContext *ac, /* select the curve too now that curve will be touched */ if (selectmode == SELECT_ADD) { fcu->flag |= FCURVE_SELECTED; + ANIM_set_active_channel(ac, ac->data, ac->datatype, filter, fcu, ANIMTYPE_FCURVE); } } |