diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-10 09:40:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-10 09:40:49 +0300 |
commit | b9eac0bb44fbb4e8d16a74fab8e0d9bc37bfebd3 (patch) | |
tree | 91d2e2dc8c4c5d83c8d45b9b9e4c3799617d7122 /source/blender/editors/sculpt_paint | |
parent | 0c3500e068ea55d0d67df0de905aaed99b58b8a9 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 8 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c | 4 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 44e1c5b7696..45ae3e9dc11 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -924,8 +924,8 @@ static bool project_bucket_point_occluded( return false; } -/* basic line intersection, could move to math_geom.c, 2 points with a horiz line - * 1 for an intersection, 2 if the first point is aligned, 3 if the second point is aligned */ +/* Basic line intersection, could move to math_geom.c, 2 points with a horizontal line + * 1 for an intersection, 2 if the first point is aligned, 3 if the second point is aligned. */ #define ISECT_TRUE 1 #define ISECT_TRUE_P1 2 #define ISECT_TRUE_P2 3 @@ -2443,8 +2443,8 @@ static void project_bucket_clip_face( *tot = 3; return; } - /* handle pathological case here, - * no need for further intersections below since tringle area is almost zero */ + /* Handle pathological case here, + * no need for further intersections below since triangle area is almost zero. */ if (collinear) { int flag; diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c index a371d8ec93c..cd366ecff3b 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c @@ -224,8 +224,8 @@ static int weight_sample_invoke(bContext *C, wmOperator *op, const wmEvent *even vgroup_weight = BKE_defvert_multipaint_collective_weight( &me->dvert[v_idx_best], defbase_tot, defbase_sel, defbase_tot_sel, ts->auto_normalize); - /* if autonormalize is enabled, but weights are not normalized, - * the value can exceed 1 */ + /* If auto-normalize is enabled, but weights are not normalized, + * the value can exceed 1. */ CLAMP(vgroup_weight, 0.0f, 1.0f); } diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 24edd9bec86..ad2cfb5f9fc 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1599,7 +1599,7 @@ static void bmesh_neighbor_average(float avg[3], BMVert *v) } /* For bmesh: average only the four most aligned (parallel and perpendicular) edges - * relative to a direction. Naturally converges to a quad-like tesselation. */ + * relative to a direction. Naturally converges to a quad-like tessellation. */ static void bmesh_four_neighbor_average(float avg[3], float direction[3], BMVert *v) { /* Logic for 3 or more is identical. */ |