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-20 04:08:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-20 04:12:24 +0300
commit0e9c04a3ea85866d17498e4fbbbefa6aab440dc4 (patch)
treea8da55c85e1bb7c7ca9aae6e50daa45d3046689d /source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc
parentcf8ea741f25f4ef55e51278d3c8e2943062a84a0 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc10
1 files changed, 6 insertions, 4 deletions
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;