[Bf-blender-cvs] [e7a3454f5f1] master: Cleanup: Fix strict compiler warning
Sergey Sharybin
noreply at git.blender.org
Thu Nov 10 16:11:22 CET 2022
Commit: e7a3454f5f11c6f679e6a0244c2adc7b60f80912
Author: Sergey Sharybin
Date: Thu Nov 10 16:11:02 2022 +0100
Branches: master
https://developer.blender.org/rBe7a3454f5f11c6f679e6a0244c2adc7b60f80912
Cleanup: Fix strict compiler warning
===================================================================
M source/blender/geometry/intern/trim_curves.cc
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list