Commit: b6278c5a9670a550051b9e51f81541392ab16e4a Author: Jacques Lucke Date: Fri Jan 20 14:15:22 2023 +0100 Branches: master https://developer.blender.org/rBb6278c5a9670a550051b9e51f81541392ab16e4a
Fix: crash when subdividing curves This was an error in rB38a45e46bc910c68ae3. =================================================================== M source/blender/geometry/intern/subdivide_curves.cc =================================================================== diff --git a/source/blender/geometry/intern/subdivide_curves.cc b/source/blender/geometry/intern/subdivide_curves.cc index 99a20b1122d..f062f720366 100644 --- a/source/blender/geometry/intern/subdivide_curves.cc +++ b/source/blender/geometry/intern/subdivide_curves.cc @@ -85,7 +85,7 @@ static void subdivide_attribute_linear(const bke::CurvesGeometry &src_curves, threading::parallel_for(curve_src.index_range().drop_back(1), 1024, [&](IndexRange range) { for (const int i : range) { - const IndexRange segment_points = curve_offsets[src_segments[i]]; + const IndexRange segment_points = curve_offsets[i]; linear_interpolation(curve_src[i], curve_src[i + 1], curve_dst.slice(segment_points)); } }); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs