From 5a43406e1bad973a8cb32702b4fdb588068a6dcd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 7 Jan 2019 22:19:13 +1100 Subject: Cleanup: move DNA comments before struct members Needed for clang-format in some cases, see: T53211 --- source/blender/makesdna/DNA_freestyle_types.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'source/blender/makesdna/DNA_freestyle_types.h') 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; -- cgit v1.2.3