diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-11 02:58:39 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-11 04:02:01 +0300 |
commit | 0091c97b3277c22688a229a4264ee34dfff89d7a (patch) | |
tree | 4336e94d321ff1e902f37f3cc642c488a6019503 /source/blender/makesdna | |
parent | f9e0b94c2fadea99ba8d14094c9ed5c1a92e03ef (diff) |
Cleanup: use '_num' suffix instead of '_size' for CurveGeometry
Follow conventions from T85728.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_curves_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/intern/dna_rename_defs.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_curves_types.h b/source/blender/makesdna/DNA_curves_types.h index e2ad5d38bbc..2388f04cc39 100644 --- a/source/blender/makesdna/DNA_curves_types.h +++ b/source/blender/makesdna/DNA_curves_types.h @@ -110,11 +110,11 @@ typedef struct CurvesGeometry { /** * The total number of control points in all curves. */ - int point_size; + int point_num; /** * The number of curves in the data-block. */ - int curve_size; + int curve_num; /** * Runtime data for curves, stored as a pointer to allow defining this as a C++ class. diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h index 281aeae7a60..f25ff5fbbb8 100644 --- a/source/blender/makesdna/intern/dna_rename_defs.h +++ b/source/blender/makesdna/intern/dna_rename_defs.h @@ -61,6 +61,8 @@ DNA_STRUCT_RENAME_ELEM(Curve, ext1, extrude) DNA_STRUCT_RENAME_ELEM(Curve, ext2, bevel_radius) DNA_STRUCT_RENAME_ELEM(Curve, len_wchar, len_char32) DNA_STRUCT_RENAME_ELEM(Curve, width, offset) +DNA_STRUCT_RENAME_ELEM(CurvesGeometry, curve_size, curve_num) +DNA_STRUCT_RENAME_ELEM(CurvesGeometry, point_size, point_num) DNA_STRUCT_RENAME_ELEM(CustomDataExternal, filename, filepath) DNA_STRUCT_RENAME_ELEM(Editing, over_border, overlay_frame_rect) DNA_STRUCT_RENAME_ELEM(Editing, over_cfra, overlay_frame_abs) |