[Bf-blender-cvs] [82dccff8097] master: Cleanup: Mention Correct Types In Comments

Jeroen Bakker noreply at git.blender.org
Mon Mar 1 16:39:00 CET 2021


Commit: 82dccff8097d9233052d6f99b3d36345da8fe259
Author: Jeroen Bakker
Date:   Mon Mar 1 12:34:25 2021 +0100
Branches: master
https://developer.blender.org/rB82dccff8097d9233052d6f99b3d36345da8fe259

Cleanup: Mention Correct Types In Comments

===================================================================

M	source/blender/makesdna/DNA_ID.h

===================================================================

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. */



More information about the Bf-blender-cvs mailing list