Cleanup: spelling
This commit is contained in:
parent
cf8ea741f2
commit
0e9c04a3ea
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
/**
|
||||
|
|
|
@ -1942,7 +1942,7 @@ static BMOpDefine bmo_inset_region_def = {
|
|||
};
|
||||
|
||||
/*
|
||||
* Edgeloop Offset.
|
||||
* Edge-loop Offset.
|
||||
*
|
||||
* Creates edge loops based on simple edge-outset method.
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue