diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-20 04:08:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-20 04:12:24 +0300 |
commit | 0e9c04a3ea85866d17498e4fbbbefa6aab440dc4 (patch) | |
tree | a8da55c85e1bb7c7ca9aae6e50daa45d3046689d /source | |
parent | cf8ea741f25f4ef55e51278d3c8e2943062a84a0 (diff) |
Cleanup: spelling
Diffstat (limited to 'source')
7 files changed, 21 insertions, 17 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_geom.cc b/source/blender/blenkernel/intern/gpencil_geom.cc index 785f63a7ba2..f8a07939096 100644 --- a/source/blender/blenkernel/intern/gpencil_geom.cc +++ b/source/blender/blenkernel/intern/gpencil_geom.cc @@ -2094,13 +2094,14 @@ void BKE_gpencil_stroke_subdivide(bGPdata *gpd, bGPDstroke *gps, int level, int /** * Reduce a series of points when the distance is below a threshold. - * Special case for first and last points (both are keeped) for other points, + * Special case for first and last points (both are kept) for other points, * the merge point always is at first point. - * \param gpd: Grease pencil data-block - * \param gpf: Grease Pencil frame - * \param gps: Grease Pencil stroke - * \param threshold: Distance between points - * \param use_unselected: Set to true to analyze all stroke and not only selected points + * + * \param gpd: Grease pencil data-block. + * \param gpf: Grease Pencil frame. + * \param gps: Grease Pencil stroke. + * \param threshold: Distance between points. + * \param use_unselected: Set to true to analyze all stroke and not only selected points. */ void BKE_gpencil_stroke_merge_distance(bGPdata *gpd, bGPDframe *gpf, @@ -2276,7 +2277,7 @@ static void gpencil_generate_edgeloops(Object *ob, } /* Arrays for all edge vertices (forward and backward) that form a edge loop. - * This is reused for each edgeloop to create gpencil stroke. */ + * This is reused for each edge-loop to create gpencil stroke. */ uint *stroke = (uint *)MEM_callocN(sizeof(uint) * me->totedge * 2, __func__); uint *stroke_fw = (uint *)MEM_callocN(sizeof(uint) * me->totedge, __func__); uint *stroke_bw = (uint *)MEM_callocN(sizeof(uint) * me->totedge, __func__); @@ -2468,7 +2469,7 @@ static void make_element_name(const char *obname, const char *name, const int ma * \param scene: Original scene. * \param ob_gp: Grease pencil object to add strokes. * \param ob_mesh: Mesh to convert. - * \param angle: Limit angle to consider a edgeloop ends. + * \param angle: Limit angle to consider a edge-loop ends. * \param thickness: Thickness of the strokes. * \param offset: Offset along the normals. * \param matrix: Transformation matrix. diff --git a/source/blender/blenlib/BLI_delaunay_2d.h b/source/blender/blenlib/BLI_delaunay_2d.h index d8876b1b79a..658dcadadce 100644 --- a/source/blender/blenlib/BLI_delaunay_2d.h +++ b/source/blender/blenlib/BLI_delaunay_2d.h @@ -250,7 +250,7 @@ template<typename Arith_t> class CDT_result { Array<vec2<Arith_t>> vert; Array<std::pair<int, int>> edge; Array<Vector<int>> face; - /* The orig vectors are only popluated if the need_ids input field is true. */ + /* The orig vectors are only populated if the need_ids input field is true. */ /** For each output vert, which input verts correspond to it? */ Array<Vector<int>> vert_orig; /** diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index 3978959a425..e106643a55f 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -1942,7 +1942,7 @@ static BMOpDefine bmo_inset_region_def = { }; /* - * Edgeloop Offset. + * Edge-loop Offset. * * Creates edge loops based on simple edge-outset method. */ diff --git a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cc b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cc index 09d75ea7829..1a0d7e52b0f 100644 --- a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cc +++ b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cc @@ -1409,7 +1409,7 @@ void DoubleEdgeMaskOperation::update_memory_buffer(MemoryBuffer *output, BLI_assert(output->getWidth() == this->getWidth()); BLI_assert(output->getHeight() == this->getHeight()); /* TODO(manzanilla): Once tiled implementation is removed, use execution system to run - * multi-threadly where possible. */ + * multi-threaded where possible. */ doDoubleEdgeMask(inner_mask->getBuffer(), outer_mask->getBuffer(), output->getBuffer()); is_output_rendered_ = true; diff --git a/source/blender/editors/include/ED_keyframes_keylist.h b/source/blender/editors/include/ED_keyframes_keylist.h index 3d5b70183df..14a131b5513 100644 --- a/source/blender/editors/include/ED_keyframes_keylist.h +++ b/source/blender/editors/include/ED_keyframes_keylist.h @@ -137,7 +137,8 @@ typedef enum eKeyframeExtremeDrawOpts { /* ******************************* Methods ****************************** */ -/* Keydata Generation --------------- */ +/* Key-data Generation --------------- */ + /* F-Curve */ void fcurve_to_keylist(struct AnimData *adt, struct FCurve *fcu, diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c index 057f49c0319..4895ab11618 100644 --- a/source/blender/makesrna/intern/rna_sequencer_api.c +++ b/source/blender/makesrna/intern/rna_sequencer_api.c @@ -711,7 +711,7 @@ void RNA_api_sequence_strip(StructRNA *srna) RNA_def_parameter_flags(parm, 0, PARM_REQUIRED); parm = RNA_def_enum(func, "split_method", seq_split_method_items, 0, "", ""); RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED); - /* Retirn type. */ + /* Return type. */ parm = RNA_def_pointer(func, "sequence", "Sequence", "", "Right side Sequence"); RNA_def_function_return(func, parm); } diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc index f7aecf72303..f9415c6d27b 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc @@ -74,7 +74,7 @@ namespace blender::nodes { struct TrimLocation { /* Control point index at the start side of the trim location. */ int left_index; - /* Control point intex at the end of the trim location's segment. */ + /* Control point index at the end of the trim location's segment. */ int right_index; /* The factor between the left and right indices. */ float factor; @@ -106,8 +106,10 @@ static void linear_trim_data(const TrimLocation &start, data[size - 1] = end_data; } -/* Identical operation as #linear_trim_data, but opy data to a new MutableSpan rather than - * modifying the original data. */ +/** + * Identical operation as #linear_trim_data, but copy data to a new #MutableSpan rather than + * modifying the original data. + */ template<typename T> static void linear_trim_to_output_data(const TrimLocation &start, const TrimLocation &end, @@ -357,7 +359,7 @@ static void geo_node_curve_trim_exec(GeoNodeExecParams params) } /* Return a spline with one point instead of implicitly - * reversing the sline or switching the parameters. */ + * reversing the spline or switching the parameters. */ if (end < start) { spline.resize(1); continue; |