[Bf-blender-cvs] [02c23e1613b] blender-v3.4-release: Cleanup: Fix strict compiler warning

Sergey Sharybin noreply at git.blender.org
Thu Nov 10 16:18:09 CET 2022


Commit: 02c23e1613b2ab8b411dcb247d7a10cccb6a4f77
Author: Sergey Sharybin
Date:   Thu Nov 10 16:17:58 2022 +0100
Branches: blender-v3.4-release
https://developer.blender.org/rB02c23e1613b2ab8b411dcb247d7a10cccb6a4f77

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