[Bf-blender-cvs] [0358951b9e3] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Thu Jul 29 03:10:14 CEST 2021


Commit: 0358951b9e3d32b6411f277c3fda9ed433f76bd7
Author: Campbell Barton
Date:   Thu Jul 29 10:52:08 2021 +1000
Branches: master
https://developer.blender.org/rB0358951b9e3d32b6411f277c3fda9ed433f76bd7

Cleanup: spelling

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

M	source/blender/blenkernel/intern/main_idmap.c
M	source/blender/makesdna/DNA_gpencil_modifier_types.h

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

diff --git a/source/blender/blenkernel/intern/main_idmap.c b/source/blender/blenkernel/intern/main_idmap.c
index 8f462f814e5..c75365a788d 100644
--- a/source/blender/blenkernel/intern/main_idmap.c
+++ b/source/blender/blenkernel/intern/main_idmap.c
@@ -157,7 +157,7 @@ void BKE_main_idmap_insert_id(struct IDNameLib_Map *id_map, ID *id)
     const short id_type = GS(id->name);
     struct IDNameLib_TypeMap *type_map = main_idmap_from_idcode(id_map, id_type);
 
-    /* No need to do anything if map has not been lazyly created yet. */
+    /* No need to do anything if map has not been lazily created yet. */
     if (LIKELY(type_map != NULL) && type_map->map != NULL) {
       BLI_assert(id_map->type_maps_keys_pool != NULL);
 
@@ -187,7 +187,7 @@ void BKE_main_idmap_remove_id(struct IDNameLib_Map *id_map, ID *id)
     const short id_type = GS(id->name);
     struct IDNameLib_TypeMap *type_map = main_idmap_from_idcode(id_map, id_type);
 
-    /* No need to do anything if map has not been lazyly created yet. */
+    /* No need to do anything if map has not been lazily created yet. */
     if (LIKELY(type_map != NULL) && type_map->map != NULL) {
       BLI_assert(id_map->type_maps_keys_pool != NULL);
 
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h
index 6ffaf457d63..c91afa58cb1 100644
--- a/source/blender/makesdna/DNA_gpencil_modifier_types.h
+++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h
@@ -942,9 +942,11 @@ struct LineartCache;
 typedef struct LineartGpencilModifierData {
   GpencilModifierData modifier;
 
-  short edge_types; /* line type enable flags, bits in eLineartEdgeFlag */
+  /** Line type enable flags, bits in #eLineartEdgeFlag. */
+  short edge_types;
 
-  char source_type; /* Object or Collection, from eLineartGpencilModifierSource */
+  /** Object or Collection, from #eLineartGpencilModifierSource. */
+  char source_type;
 
   char use_multiple_levels;
   short level_start;
@@ -963,16 +965,18 @@ typedef struct LineartGpencilModifierData {
   char source_vertex_group[64];
   char vgname[64];
 
-  /* Camera focal length is divided by (1 + overscan), before caluclation, which give a wider FOV,
-   * this doesn't change coordinates range internally (-1, 1), but makes the caluclated frame
+  /**
+   * Camera focal length is divided by `1 + overscan`, before calculation, which give a wider FOV,
+   * this doesn't change coordinates range internally (-1, 1), but makes the calculated frame
    * bigger than actual output. This is for the easier shifting calculation. A value of 0.5 means
-   * the "internal" focal length become 2/3 of the actual camera. */
+   * the "internal" focal length become 2/3 of the actual camera.
+   */
   float overscan;
 
   float opacity;
   short thickness;
 
-  unsigned char mask_switches; /* eLineartGpencilMaskSwitches */
+  unsigned char mask_switches; /* #eLineartGpencilMaskSwitches */
   unsigned char material_mask_bits;
   unsigned char intersection_mask;
 
@@ -990,7 +994,7 @@ typedef struct LineartGpencilModifierData {
   /* Ported from SceneLineArt flags. */
   int calculation_flags;
 
-  /* eLineArtGPencilModifierFlags, modifier internal state. */
+  /* #eLineArtGPencilModifierFlags, modifier internal state. */
   int flags;
 
   /* Runtime data. */



More information about the Bf-blender-cvs mailing list