diff options
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index e8af6cf0d86..2cdbfa06e30 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -113,13 +113,20 @@ enum { /* IDP_GROUP */ enum { - IDP_GROUP_SUB_NONE = 0, /* default */ - IDP_GROUP_SUB_MODE_OBJECT = 1, /* object mode settings */ - IDP_GROUP_SUB_MODE_EDIT = 2, /* mesh edit mode settings */ - IDP_GROUP_SUB_ENGINE_RENDER = 3, /* render engine settings */ - IDP_GROUP_SUB_OVERRIDE = 4, /* data override */ - IDP_GROUP_SUB_MODE_PAINT_WEIGHT = 5, /* weight paint mode settings */ - IDP_GROUP_SUB_MODE_PAINT_VERTEX = 6, /* vertex paint mode settings */ + /** Default. */ + IDP_GROUP_SUB_NONE = 0, + /** Object mode settings. */ + IDP_GROUP_SUB_MODE_OBJECT = 1, + /** Mesh edit mode settings. */ + IDP_GROUP_SUB_MODE_EDIT = 2, + /** Render engine settings. */ + IDP_GROUP_SUB_ENGINE_RENDER = 3, + /** Data override. */ + IDP_GROUP_SUB_OVERRIDE = 4, + /** Weight paint mode settings. */ + IDP_GROUP_SUB_MODE_PAINT_WEIGHT = 5, + /** Vertex paint mode settings. */ + IDP_GROUP_SUB_MODE_PAINT_VERTEX = 6, }; /*->flag*/ @@ -146,7 +153,8 @@ typedef struct IDOverrideStaticPropertyOperation { char _pad0[4]; /* Sub-item references, if needed (for arrays or collections only). - * We need both reference and local values to allow e.g. insertion into collections (constraints, modifiers...). + * We need both reference and local values to allow e.g. insertion into collections + * (constraints, modifiers...). * In collection case, if names are defined, they are used in priority. * Names are pointers (instead of char[64]) to save some space, NULL when unset. * Indices are -1 when unset. */ @@ -465,7 +473,8 @@ enum { /** * id->tag (runtime-only). * - * Those flags belong to three different categories, which have different expected handling in code: + * Those flags belong to three different categories, + * which have different expected handling in code: * * - RESET_BEFORE_USE: piece of code that wants to use such flag * has to ensure they are properly 'reset' first. |