diff options
author | Piotr Makal <pmakal> | 2021-12-14 00:13:47 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-14 00:13:47 +0300 |
commit | b8952ecec947308ded826d6025ddfe7d6ff0325e (patch) | |
tree | 3cf9fb9acddcec735cb61dc947ac511421c87645 /source/blender/makesdna | |
parent | 0606adceb3b6efa020c7389bdb31fe541b7d1d5f (diff) |
Cleanup: Remove unused curve types from enum
There were a few unused enum values: `CU_CARDINAL` and `CU_BSPLINE`
This commit cleans them up from code as they were not used for
anything meaningful.
Differential Revision: https://developer.blender.org/D13554
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index dab43d16cbb..c1c8fe06121 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -420,10 +420,8 @@ enum { enum { CU_POLY = 0, CU_BEZIER = 1, - CU_BSPLINE = 2, - CU_CARDINAL = 3, CU_NURBS = 4, - CU_TYPE = (CU_POLY | CU_BEZIER | CU_BSPLINE | CU_CARDINAL | CU_NURBS), + CU_TYPE = (CU_POLY | CU_BEZIER | CU_NURBS), /* only for adding */ CU_PRIMITIVE = 0xF00, |