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 16:00:55 +0300
committerCampbell Barton <campbell@blender.org>2022-06-30 16:48:22 +0300
commit8bf9d482dacf54c72291de187676ff76845e807f (patch)
treeda48f3fe8ad2be99c606cc5cb15a1001ac95c0df /source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
parent58ccd8338e53423e223085094af2d35c76285c30 (diff)
Cleanup: colon after params, move text into public doc-strings, spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint/curves_sculpt_ops.cc')
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_ops.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
index 739c39f6196..5c73c7a37d3 100644
--- a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
+++ b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
@@ -740,7 +740,7 @@ static void select_grow_invoke_per_curve(Curves &curves_id,
threading::parallel_invoke(
[&]() {
- /* Build kd-tree for the selected points. */
+ /* Build KD-tree for the selected points. */
KDTree_3d *kdtree = BLI_kdtree_3d_new(curve_op_data.selected_point_indices.size());
BLI_SCOPED_DEFER([&]() { BLI_kdtree_3d_free(kdtree); });
for (const int point_i : curve_op_data.selected_point_indices) {
@@ -765,7 +765,7 @@ static void select_grow_invoke_per_curve(Curves &curves_id,
});
},
[&]() {
- /* Build kd-tree for the unselected points. */
+ /* Build KD-tree for the unselected points. */
KDTree_3d *kdtree = BLI_kdtree_3d_new(curve_op_data.unselected_point_indices.size());
BLI_SCOPED_DEFER([&]() { BLI_kdtree_3d_free(kdtree); });
for (const int point_i : curve_op_data.unselected_point_indices) {
@@ -1011,7 +1011,7 @@ static int calculate_points_per_side(bContext *C, MinDistanceEditData &op_data)
}
}
- /* Limit to a harcoded number since it only adds noise at some point. */
+ /* Limit to a hard-coded number since it only adds noise at some point. */
return std::min(300, needed_points);
}