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_modifier_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_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 5a0707d385f..3e977bf4245 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -92,7 +92,7 @@ typedef struct NoiseGpencilModifierData { float vrand1, vrand2; /* random values */ struct RNG *rng; int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } NoiseGpencilModifierData; typedef enum eNoiseGpencil_Flag { @@ -154,7 +154,7 @@ typedef struct TimeGpencilModifierData { float frame_scale; /* animation scale */ int mode; int sfra, efra; /* start and end frame for custom range */ - char pad_[4]; + char _pad[4]; } TimeGpencilModifierData; typedef enum eTimeGpencil_Flag { @@ -187,7 +187,7 @@ typedef struct TintGpencilModifierData { char modify_color; /* modify stroke, fill or both */ char pad[7]; int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } TintGpencilModifierData; typedef enum eTintGpencil_Flag { @@ -206,7 +206,7 @@ typedef struct ColorGpencilModifierData { char modify_color; /* modify stroke, fill or both */ char pad[3]; int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } ColorGpencilModifierData; typedef enum eColorGpencil_Flag { @@ -226,7 +226,7 @@ typedef struct OpacityGpencilModifierData { char modify_color; /* modify stroke, fill or both */ char pad[3]; int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } OpacityGpencilModifierData; typedef enum eOpacityGpencil_Flag { @@ -249,7 +249,7 @@ typedef struct ArrayGpencilModifierData { float rot[3]; /* Rotation changes */ float scale[3]; /* Scale changes */ float rnd[20]; /* (first element is the index) random values */ - char pad_[4]; + char _pad[4]; int pass_index; /* custom index for passes */ char layername[64]; /* layer name */ @@ -349,7 +349,7 @@ typedef struct MirrorGpencilModifierData { int pass_index; /* custom index for passes */ int flag; /* flags */ int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } MirrorGpencilModifierData; typedef enum eMirrorGpencil_Flag { @@ -371,7 +371,7 @@ typedef struct HookGpencilModifierData { char vgname[64]; /* optional vertexgroup name, MAX_VGROUP_NAME */ int pass_index; /* custom index for passes */ int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; int flag; char falloff_type; /* use enums from WarpGpencilModifier (exact same functionality) */ @@ -412,7 +412,7 @@ typedef struct SimplifyGpencilModifierData { short mode; /* type of simplify */ short step; /* every n vertex to keep */ int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } SimplifyGpencilModifierData; typedef enum eSimplifyGpencil_Flag { @@ -456,7 +456,7 @@ typedef struct SmoothGpencilModifierData { float factor; /* factor of noise */ int step; /* how many times apply smooth */ int layer_pass; /* custom index for passes */ - char pad_[4]; + char _pad[4]; } SmoothGpencilModifierData; typedef enum eSmoothGpencil_Flag { |