From 328a0f975be68404604ee2571c1d0c4cf828dfec Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Jan 2019 23:14:35 +1100 Subject: Cleanup: comment line length (DNA) Prevents clang-format wrapping text before comments. --- source/blender/makesdna/DNA_space_types.h | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'source/blender/makesdna/DNA_space_types.h') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 5cb66c2bfb1..6e523235426 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -218,7 +218,8 @@ typedef enum eSpaceButtons_Flag { SB_PIN_CONTEXT = (1 << 1), SB_FLAG_DEPRECATED_2 = (1 << 2), SB_FLAG_DEPRECATED_3 = (1 << 3), - SB_TEX_USER_LIMITED = (1 << 3), /* Do not add materials, particles, etc. in TemplateTextureUser list. */ + /** Do not add materials, particles, etc. in TemplateTextureUser list. */ + SB_TEX_USER_LIMITED = (1 << 3), SB_SHADING_CONTEXT = (1 << 4), } eSpaceButtons_Flag; @@ -261,7 +262,9 @@ typedef struct SpaceOops { char pad; short filter_id_type; - /* pointers to treestore elements, grouped by (id, type, nr) in hashtable for faster searching */ + /** + * Pointers to treestore elements, grouped by (id, type, nr) + * in hashtable for faster searching */ void *treehash; } SpaceOops; @@ -389,7 +392,8 @@ typedef struct SpaceIpo { /** Deprecated, copied to region. */ View2D v2d DNA_DEPRECATED; - /** Settings for filtering animation data (NOTE: we use a pointer due to code-linking issues). */ + /** Settings for filtering animation data + * \note we use a pointer due to code-linking issues. */ struct bDopeSheet *ads; /** Mode for the Graph editor (eGraphEdit_Mode). */ @@ -820,14 +824,17 @@ typedef enum eFileSel_File_Types { FILE_TYPE_SOUND = (1 << 8), FILE_TYPE_TEXT = (1 << 9), /* 1 << 10 was FILE_TYPE_MOVIE_ICON, got rid of this so free slot for future type... */ - FILE_TYPE_FOLDER = (1 << 11), /* represents folders for filtering */ + /** represents folders for filtering */ + FILE_TYPE_FOLDER = (1 << 11), FILE_TYPE_BTX = (1 << 12), FILE_TYPE_COLLADA = (1 << 13), - FILE_TYPE_OPERATOR = (1 << 14), /* from filter_glob operator property */ + /** from filter_glob operator property */ + FILE_TYPE_OPERATOR = (1 << 14), FILE_TYPE_APPLICATIONBUNDLE = (1 << 15), FILE_TYPE_ALEMBIC = (1 << 16), - FILE_TYPE_DIR = (1 << 30), /* An FS directory (i.e. S_ISDIR on its path is true). */ + /** An FS directory (i.e. S_ISDIR on its path is true). */ + FILE_TYPE_DIR = (1 << 30), FILE_TYPE_BLENDERLIB = (1u << 31), } eFileSel_File_Types; @@ -902,7 +909,8 @@ typedef struct FileDirEntry { char *name; char *description; - /* Either point to active variant/revision if available, or own entry (in mere filebrowser case). */ + /* Either point to active variant/revision if available, or own entry + * (in mere filebrowser case). */ FileDirEntryRevision *entry; /** #eFileSel_File_Types. */ @@ -1325,7 +1333,8 @@ typedef enum eSpaceNode_Flag { SNODE_FLAG_DEPRECATED_10 = (1 << 10), /* cleared */ SNODE_FLAG_DEPRECATED_11 = (1 << 11), /* cleared */ SNODE_PIN = (1 << 12), - SNODE_SKIP_INSOFFSET = (1 << 13), /* automatically offset following nodes in a chain on insertion */ + /** automatically offset following nodes in a chain on insertion */ + SNODE_SKIP_INSOFFSET = (1 << 13), } eSpaceNode_Flag; /* SpaceNode.texfrom */ -- cgit v1.2.3