diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 07:38:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-02 07:38:45 +0300 |
commit | 5484ed01ad1f3035c6a82adfeb19b62ec1180609 (patch) | |
tree | 4834587ef21a35d564e4302fddc07d991fe9b9f0 /source/blender/makesdna/DNA_gpencil_types.h | |
parent | 2b3effe0ce57909ca6855ccb21d80414cbd7d64a (diff) |
Cleanup: use '_pad' in DNA
Convention used elsewhere, has advantage pad vars don't autocomplete
with other vars beginning w/ 'p'.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_types.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h index 567b8687e20..269b19e6ea9 100644 --- a/source/blender/makesdna/DNA_gpencil_types.h +++ b/source/blender/makesdna/DNA_gpencil_types.h @@ -178,7 +178,7 @@ typedef struct bGPDstroke { char colorname[128] DNA_DEPRECATED; /* color name */ int mat_nr; /* material index */ - char pad_[4]; + char _pad[4]; struct MDeformVert *dvert; /* vertex weight data */ @@ -244,7 +244,7 @@ typedef enum eGPDframe_Flag { /* Runtime temp data for bGPDlayer */ typedef struct bGPDlayer_Runtime { int icon_id; /* id for dynamic icon used to show annotation color preview for layer */ - char pad_[4]; + char _pad[4]; } bGPDlayer_Runtime; /* Grease-Pencil Annotations - 'Layer' */ @@ -277,7 +277,7 @@ typedef struct bGPDlayer { char viewlayername[64]; /* Name of the layer used to filter render output */ int blend_mode; /* blend modes */ - char pad_[4]; + char _pad[4]; /* annotation onion skin */ short gstep; /* Ghosts Before: max number of ghost frames to show between active frame and the one before it (0 = only the ghost itself) */ @@ -351,7 +351,7 @@ typedef struct bGPdata_Runtime { */ short sbuffer_size; /* number of elements currently in cache */ short sbuffer_sflag; /* flags for stroke that cache represents */ - char pad_[6]; + char _pad[6]; int tot_cp_points; /* number of control-points for stroke */ char pad1_[4]; @@ -366,7 +366,7 @@ typedef struct bGPgrid { char _pad1[4]; int lines; - char pad_[4]; + char _pad[4]; } bGPgrid; /* Grease-Pencil Annotations - 'DataBlock' */ |