Fix #144369: Grease Pencil: Use aligned handle type in Convert Curve Type operator
This makes so that the `Convert Curve Type` operator will create bézier handles with the `Aligned` type except for corners. Pull Request: https://projects.blender.org/blender/blender/pulls/144471
This commit is contained in:
committed by
Falk David
parent
2f8061c65a
commit
fb6f191981
@@ -235,6 +235,8 @@ bke::CurvesGeometry fit_poly_to_bezier_curves(const bke::CurvesGeometry &src_cur
|
||||
});
|
||||
|
||||
const Span<int> corner_indices = corner_indices_per_curve[pos];
|
||||
dst_handle_types_left.slice(dst_points).fill(BEZIER_HANDLE_ALIGN);
|
||||
dst_handle_types_right.slice(dst_points).fill(BEZIER_HANDLE_ALIGN);
|
||||
dst_handle_types_left.slice(dst_points).fill_indices(corner_indices, BEZIER_HANDLE_FREE);
|
||||
dst_handle_types_right.slice(dst_points).fill_indices(corner_indices, BEZIER_HANDLE_FREE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user