diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-08 05:04:36 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-08 05:08:20 +0300 |
commit | 17bc29253070f1707acd40c75e4a0e5c53704b24 (patch) | |
tree | 6fc27c8998e29bc1f6599bd4dc9fd3d9a3b20df1 /source/blender/makesdna/DNA_curve_types.h | |
parent | c2c369ebe693456b7048b3908f342f5667e0fd03 (diff) |
Cleanup: remove ED_types.h & ACTIVE, DESELECT definitions
- ACTIVE flag is no longer in use.
- DESELECT was used in some places as an alias for false,
even though this could arguably help readability, in practice this
was often passed with a selection flag leading to confusing calls
such as `select_beztriple(bezt, DESELECT, SELECT, HIDDEN)`.
Replace SELECT/DESELECT with true/false in these cases.
- Remove ED_types.h. Add a 'SELECT' definition to DNA_anim_types.h,
for fcurve_test, we could use a shared DNA header, or remove use of
the define entirely in favor of typed enums.
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 6e18d442ee2..5862c3a6707 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -439,9 +439,9 @@ enum { /* *************** BEZTRIPLE **************** */ -/* BezTriple.f1,2,3 */ +/** #BezTriple.f1, #BezTriple.f2, #BezTriple.f3. */ typedef enum eBezTriple_Flag { - /* SELECT */ + /* `SELECT = (1 << 0)` */ BEZT_FLAG_TEMP_TAG = (1 << 1), /* always clear. */ /* Can be used to ignore keyframe points for certain operations. */ BEZT_FLAG_IGNORE_TAG = (1 << 2), |