Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-07-29 03:52:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-29 03:52:08 +0300
commit0358951b9e3d32b6411f277c3fda9ed433f76bd7 (patch)
treed24bde2160c0e692917b99310839dc0be383953e
parent8aa1c0a326a838528470e79abad3abec343d1c9f (diff)
Cleanup: spelling
-rw-r--r--source/blender/blenkernel/intern/main_idmap.c4
-rw-r--r--source/blender/makesdna/DNA_gpencil_modifier_types.h18
2 files changed, 13 insertions, 9 deletions
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. */