diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-10 05:26:58 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-10 05:26:58 +0300 |
commit | d72595a5943e8c81bb8c901d3ec8cc52b553da22 (patch) | |
tree | 24c46baf582fabc12d4a1a29f07e335454266ac3 /source/blender/makesdna/DNA_meshdata_types.h | |
parent | 53ae2c2a4071bd8eb4f8247426f431b81387bf7b (diff) |
Cleanup: Remove unecessary padding from small DNA structs
After {rBa0867f05a48e2017a}, it is no longer necessary to pad
structs with 1 and 2 byte sizes. Most of these are geometry node
structs, where we've been avoiding using `node.custom1`.
I only found two others, the freestyle flags in custom data DNA.
Differential Revision: https://developer.blender.org/D10335
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index 780115a31be..f9af7a011e0 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -414,7 +414,6 @@ typedef struct OrigSpaceLoop { typedef struct FreestyleEdge { char flag; - char _pad[3]; } FreestyleEdge; /** #FreestyleEdge.flag */ @@ -424,7 +423,6 @@ enum { typedef struct FreestyleFace { char flag; - char _pad[3]; } FreestyleFace; /** #FreestyleFace.flag */ |