From 5484ed01ad1f3035c6a82adfeb19b62ec1180609 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 2 Jan 2019 15:38:45 +1100 Subject: Cleanup: use '_pad' in DNA Convention used elsewhere, has advantage pad vars don't autocomplete with other vars beginning w/ 'p'. --- source/blender/makesdna/DNA_gpencil_types.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/makesdna/DNA_gpencil_types.h') 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' */ -- cgit v1.2.3