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-11-10 03:22:02 +0300
committerCampbell Barton <campbell@blender.org>2022-11-10 03:22:02 +0300
commit1bf3069912f50fa4355a4e7f648fc39243f6d0a9 (patch)
tree10514700c61c2b9e587e81b881d7dcf02acf7fb5
parent9b646cfae521aa380a02107b21e0d90c9d6a7be9 (diff)
parent79dae1a43f10590be913d42a9c6c2e3e66ca6302 (diff)
Merge branch 'blender-v3.4-release'
-rw-r--r--source/blender/geometry/intern/trim_curves.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/geometry/intern/trim_curves.cc b/source/blender/geometry/intern/trim_curves.cc
index c1e65f1e0c7..6ec57c91851 100644
--- a/source/blender/geometry/intern/trim_curves.cc
+++ b/source/blender/geometry/intern/trim_curves.cc
@@ -752,16 +752,16 @@ static float trim_sample_length(const Span<float> accumulated_lengths,
* Compute the selection for the given curve type. Tracks indices for splitting the selection if
* there are curves reduced to a single point.
*/
-void compute_curve_trim_parameters(const bke::CurvesGeometry &curves,
- const IndexMask selection,
- const VArray<float> &starts,
- const VArray<float> &ends,
- const GeometryNodeCurveSampleMode mode,
- MutableSpan<int> dst_curve_size,
- MutableSpan<int8_t> dst_curve_types,
- MutableSpan<bke::curves::CurvePoint> start_points,
- MutableSpan<bke::curves::CurvePoint> end_points,
- MutableSpan<bke::curves::IndexRangeCyclic> src_ranges)
+static void compute_curve_trim_parameters(const bke::CurvesGeometry &curves,
+ const IndexMask selection,
+ const VArray<float> &starts,
+ const VArray<float> &ends,
+ const GeometryNodeCurveSampleMode mode,
+ MutableSpan<int> dst_curve_size,
+ MutableSpan<int8_t> dst_curve_types,
+ MutableSpan<bke::curves::CurvePoint> start_points,
+ MutableSpan<bke::curves::CurvePoint> end_points,
+ MutableSpan<bke::curves::IndexRangeCyclic> src_ranges)
{
const VArray<bool> src_cyclic = curves.cyclic();
const VArray<int> resolution = curves.resolution();