diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 14:19:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 16:43:00 +0300 |
commit | 5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch) | |
tree | b47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_speaker_types.h | |
parent | 0215caeac2ad013fa03e2799049f5358d951ebfa (diff) |
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_speaker_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_speaker_types.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_speaker_types.h b/source/blender/makesdna/DNA_speaker_types.h index a7408293131..f08cea6a4ca 100644 --- a/source/blender/makesdna/DNA_speaker_types.h +++ b/source/blender/makesdna/DNA_speaker_types.h @@ -34,11 +34,12 @@ struct bSound; typedef struct Speaker { ID id; - struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */ + /** Animation data (must be immediately after id for utilities to use it). */ + struct AnimData *adt; struct bSound *sound; - // not animatable properties + /* not animatable properties */ float volume_max; float volume_min; float distance_max; @@ -48,13 +49,13 @@ typedef struct Speaker { float cone_angle_inner; float cone_volume_outer; - // animatable properties + /* animatable properties */ float volume; float pitch; - // flag + /* flag */ short flag; - short pad1[3]; + char _pad1[6]; } Speaker; /* **************** SPEAKER ********************* */ |