diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-11-10 18:11:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-11-10 18:11:02 +0300 |
commit | e7a3454f5f11c6f679e6a0244c2adc7b60f80912 (patch) | |
tree | 101b7cf56fd2682eb3f1e5c0a6532457a3172e97 | |
parent | b85fe578876d81c048311ccf9a8d72dbc0e77012 (diff) |
Cleanup: Fix strict compiler warning
-rw-r--r-- | source/blender/geometry/intern/trim_curves.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/geometry/intern/trim_curves.cc b/source/blender/geometry/intern/trim_curves.cc index 82e9ee78592..1aff07f2b4e 100644 --- a/source/blender/geometry/intern/trim_curves.cc +++ b/source/blender/geometry/intern/trim_curves.cc @@ -785,8 +785,8 @@ static void compute_curve_trim_parameters(const bke::CurvesGeometry &curves, /* Single point. */ dst_curve_size[curve_i] = 1; src_ranges[curve_i] = bke::curves::IndexRangeCyclic(0, 0, 1, 1); - start_points[curve_i] = {0, 0, 0.0f}; - end_points[curve_i] = {0, 0, 0.0f}; + start_points[curve_i] = {{0, 0}, 0.0f}; + end_points[curve_i] = {{0, 0}, 0.0f}; continue; } |