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 <campbell@blender.org>2022-06-30 05:14:22 +0300
committerCampbell Barton <campbell@blender.org>2022-06-30 05:14:22 +0300
commitb6c28002acb802dcad8a23c0721209103f00f686 (patch)
tree07426be8ea1a11ded6837ef652e7d757f5179c22 /source/blender/makesdna
parent209f2b85d745dc7e31b8272db1f30778d7fe2aa8 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_gpencil_modifier_types.h4
-rw-r--r--source/blender/makesdna/DNA_lineart_types.h10
2 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h
index f6a54308efc..2bb95caddfb 100644
--- a/source/blender/makesdna/DNA_gpencil_modifier_types.h
+++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h
@@ -1062,8 +1062,8 @@ 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 + over-scan), 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. */
float overscan;
diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h
index 4f736703203..1ff656f85ed 100644
--- a/source/blender/makesdna/DNA_lineart_types.h
+++ b/source/blender/makesdna/DNA_lineart_types.h
@@ -51,16 +51,18 @@ typedef enum eLineartEdgeFlag {
LRT_EDGE_FLAG_LOOSE = (1 << 5),
LRT_EDGE_FLAG_LIGHT_CONTOUR = (1 << 6),
/* LRT_EDGE_FLAG_FOR_FUTURE = (1 << 7), */
- /* It's a legacy limit of 8 bits for feature lines that come from original mesh edges. It should
- not be needed in current object loading scheme, but might still be relevant if we are to
- impelment EditMesh loading, so don't exceed 8 bits just yet. */
+ /**
+ * It's a legacy limit of 8 bits for feature lines that come from original mesh edges. It should
+ * not be needed in current object loading scheme, but might still be relevant if we are to
+ * implement edit-mesh loading, so don't exceed 8 bits just yet.
+ */
LRT_EDGE_FLAG_PROJECTED_SHADOW = (1 << 8),
/* To determine an edge to be occluded from the front or back face it's lying on. */
LRT_EDGE_FLAG_SHADOW_FACING_LIGHT = (1 << 9),
/** Also used as discarded line mark. */
LRT_EDGE_FLAG_CHAIN_PICKED = (1 << 10),
LRT_EDGE_FLAG_CLIPPED = (1 << 11),
- /** Used to specify contor from viewing camera when computing shadows. */
+ /** Used to specify contour from viewing camera when computing shadows. */
LRT_EDGE_FLAG_CONTOUR_SECONDARY = (1 << 12),
/** Limited to 16 bits for the entire thing. */