diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc')
-rw-r--r-- | source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc b/source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc index 94c0f5536b7..51997cd9e1e 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_3d_brush.cc @@ -93,7 +93,7 @@ static std::optional<float3> find_curves_brush_position(const CurvesGeometry &cu BrushPositionCandidate best_candidate = init; for (const int curve_i : curves_range) { - const IndexRange points = curves.range_for_curve(curve_i); + const IndexRange points = curves.points_for_curve(curve_i); const int tot_segments = points.size() - 1; for (const int segment_i : IndexRange(tot_segments)) { |