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:
authorSergey Sharybin <sergey@blender.org>2022-11-10 18:17:58 +0300
committerSergey Sharybin <sergey@blender.org>2022-11-10 18:17:58 +0300
commit02c23e1613b2ab8b411dcb247d7a10cccb6a4f77 (patch)
tree78eb9062e73e5218f938318f2a03323645f89d7f
parent6295bdfd38d3a4be8ee34ea6648473b4bbddf504 (diff)
Cleanup: Fix strict compiler warning
-rw-r--r--source/blender/geometry/intern/trim_curves.cc4
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;
}