diff options
author | Maxime <DR3D> | 2020-12-30 00:24:38 +0300 |
---|---|---|
committer | Wayde Moss <wbmoss_dev@yahoo.com> | 2020-12-30 01:01:13 +0300 |
commit | 0cf06e247b7bbd55001104b33642dad2ef5a8933 (patch) | |
tree | 3dc57344fe412b62c04d27d8e4846d9a383046f2 /source/blender/depsgraph/DEG_depsgraph_build.h | |
parent | c1740e9ad02da17829a30c8755790729e083cba5 (diff) |
Directly select animation curves in the graph editortemp-D8687-directly_select_fcurves
Hi!
In Blender, in the graph editor, it is for now impossible to select a curve directly without selecting a keyframe of that curve.
This can sometimes be a bit frustrating, especially for people coming from softwares where this is possible. Being able to select curves directly allows to hide or lock them a bit faster, for instance.
This patch enables the user to **directly select animation curves with the usual selection operators**. When doing a selection, the usual keyframe selection is first performed, and if no keyframe could be found, then it tries selecting the curve. This is done on a per-curve basis (per-channel), which means that the user may select both a keyframe for a curve A, and a curve B with no keyframe. I found it to be more intuitive, but maybe this is something that should change.
The selection of the curves is done by sampling them in the interval defined by the xmin and the xmax of the selection area, and checking if those points are inside of this area.
Selecting curve is available in the **box selection** operator, the **lasso**, and the **circle selection** operators.
{F8892684}
Reviewed By: sybren, zeddb, looch
Differential Revision: https://developer.blender.org/D8687
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_build.h')
0 files changed, 0 insertions, 0 deletions