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:
authorHans Goudey <h.goudey@me.com>2022-07-21 16:15:06 +0300
committerHans Goudey <h.goudey@me.com>2022-07-21 16:15:06 +0300
commit63be57307eba75c05e7584a2e43373e489b451fb (patch)
tree0c879bc9a0fd389cf47e14819165b59b43bbd51b /source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc
parent95ab16004d1e55cd4796b35d2a9f0e9695644f92 (diff)
Cleanup: Rename length parameterization interpolation function
The name makes more sense as an action, other interpolation methods besides linear probably don't make sense here anyway.
Diffstat (limited to 'source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc')
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc b/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc
index 408139d6653..8ef18ba7da7 100644
--- a/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc
+++ b/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc
@@ -127,7 +127,7 @@ class ShrinkCurvesEffect : public CurvesEffect {
lp::sample_at_lengths(data.old_lengths, data.sample_lengths, data.indices, data.factors);
- lp::linear_interpolation<float3>(data.old_positions, data.indices, data.factors, positions);
+ lp::interpolate<float3>(data.old_positions, data.indices, data.factors, positions);
}
};