diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-01 14:34:25 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-01 18:37:42 +0300 |
commit | 82dccff8097d9233052d6f99b3d36345da8fe259 (patch) | |
tree | 6fc1e6235de4e7bfb178d83e3a476d7dd085c1ae /source/blender | |
parent | 5da418d4e6a199ae5ebe0cfd5b088369fb2d755b (diff) |
Cleanup: Mention Correct Types In Comments
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 9d01617905f..67e33366199 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -168,7 +168,7 @@ typedef struct IDOverrideLibraryPropertyOperation { int subitem_local_index; } IDOverrideLibraryPropertyOperation; -/* IDOverridePropertyOperation->operation. */ +/* IDOverrideLibraryPropertyOperation->operation. */ enum { /* Basic operations. */ IDOVERRIDE_LIBRARY_OP_NOOP = 0, /* Special value, forbids any overriding. */ @@ -188,7 +188,7 @@ enum { /* We can add more if needed (move, delete, ...). */ }; -/* IDOverridePropertyOperation->flag. */ +/* IDOverrideLibraryPropertyOperation->flag. */ enum { /** User cannot remove that override operation. */ IDOVERRIDE_LIBRARY_FLAG_MANDATORY = 1 << 0, @@ -210,10 +210,14 @@ typedef struct IDOverrideLibraryProperty { */ char *rna_path; - /** List of overriding operations (IDOverridePropertyOperation) applied to this property. */ + /** + * List of overriding operations (IDOverrideLibraryPropertyOperation) applied to this property. + */ ListBase operations; - /** Runtime, tags are common to both IDOverrideProperty and IDOverridePropertyOperation. */ + /** + * Runtime, tags are common to both IDOverrideLibraryProperty and + * IDOverrideLibraryPropertyOperation. */ short tag; char _pad[2]; @@ -221,7 +225,7 @@ typedef struct IDOverrideLibraryProperty { unsigned int rna_prop_type; } IDOverrideLibraryProperty; -/* IDOverrideProperty->tag and IDOverridePropertyOperation->tag. */ +/* IDOverrideLibraryProperty->tag and IDOverrideLibraryPropertyOperation->tag. */ enum { /** This override property (operation) is unused and should be removed by cleanup process. */ IDOVERRIDE_LIBRARY_TAG_UNUSED = 1 << 0, @@ -244,7 +248,7 @@ enum { typedef struct IDOverrideLibrary { /** Reference linked ID which this one overrides. */ struct ID *reference; - /** List of IDOverrideProperty structs. */ + /** List of IDOverrideLibraryProperty structs. */ ListBase properties; /* Read/write data. */ |