diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 14:20:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-27 14:20:29 +0300 |
commit | d1f7ae29a20ab07626cd45d38f6e3be60eaa3f15 (patch) | |
tree | 8e3502b47b5acf1fd5b6a7296eeeea4d4322c3b6 /source/blender/makesdna | |
parent | e097e0c8338bd3f96a1a84cf9c3ba0c0635caca6 (diff) |
Cleanup: use "_pad" prefix for pad vars
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_light_types.h | 3 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_particle_types.h | 3 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_light_types.h b/source/blender/makesdna/DNA_light_types.h index b2bbb56c12c..ec913aa2b48 100644 --- a/source/blender/makesdna/DNA_light_types.h +++ b/source/blender/makesdna/DNA_light_types.h @@ -52,7 +52,8 @@ typedef struct Light { /** Quad1 and Quad2 attenuation. */ float att1, att2; - float coeff_const, coeff_lin, coeff_quad, coeff_pad; + float coeff_const, coeff_lin, coeff_quad; + char _pad0[4]; struct CurveMapping *curfalloff; short falloff_type; char _pad2[2]; diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index cc0c4cd6f4c..dc6e9dd05a1 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -217,7 +217,8 @@ typedef struct ParticleSettings { float timetweak, courant_target; float jitfac, eff_hair, grid_rand, ps_offset[1]; int totpart, userjit, grid_res, effector_amount; - short time_flag, time_pad[3]; + short time_flag; + char _pad0[6]; /* initial velocity factors */ float normfac, obfac, randfac, partfac, tanfac, tanphase, reactfac; diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 6c99c74f055..5e1f4304389 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -158,7 +158,7 @@ typedef struct FFMpegCodecData { int audio_bitrate; int audio_mixrate; int audio_channels; - int audio_pad; + char _pad0[4]; float audio_volume; int gop_size; /** Only used if FFMPEG_USE_MAX_B_FRAMES flag is set. */ |