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_freestyle_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_freestyle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_freestyle_types.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h index 36cf151b76e..9d7685355d9 100644 --- a/source/blender/makesdna/DNA_freestyle_types.h +++ b/source/blender/makesdna/DNA_freestyle_types.h @@ -116,16 +116,21 @@ enum { typedef struct FreestyleLineSet { struct FreestyleLineSet *next, *prev; - char name[64]; /* line set name, MAX_NAME */ + /** Line set name, MAX_NAME. */ + char name[64]; int flags; - int selection; /* selection criteria */ - short qi; /* quantitative invisibility */ + /** Selection criteria. */ + int selection; + /** Quantitative invisibility. */ + short qi; short pad1; int qi_start, qi_end; - int edge_types, exclude_edge_types; /* feature edge types */ + /** Feature edge types. */ + int edge_types, exclude_edge_types; int pad2; - struct Collection *group; /* group of target objects */ + /** Group of target objects. */ + struct Collection *group; struct FreestyleLineStyle *linestyle; } FreestyleLineSet; @@ -141,12 +146,15 @@ typedef struct FreestyleModuleConfig { typedef struct FreestyleConfig { ListBase modules; - int mode; /* scripting, editor */ + /** Scripting, editor. */ + int mode; int raycasting_algorithm DNA_DEPRECATED; - int flags; /* suggestive contours, ridges/valleys, material boundaries */ + /** Suggestive contours, ridges/valleys, material boundaries. */ + int flags; float sphere_radius; float dkr_epsilon; - float crease_angle; /* in radians! */ + /** In radians!. */ + float crease_angle; ListBase linesets; } FreestyleConfig; |