[Bf-blender-cvs] [6749a4a8f02] master: Cleanup: missing braces warning

Campbell Barton noreply at git.blender.org
Mon Aug 1 03:32:05 CEST 2022


Commit: 6749a4a8f02900db9f2ecae79820d9b418694706
Author: Campbell Barton
Date:   Mon Aug 1 11:02:18 2022 +1000
Branches: master
https://developer.blender.org/rB6749a4a8f02900db9f2ecae79820d9b418694706

Cleanup: missing braces warning

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_boundary.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.c b/source/blender/editors/sculpt_paint/sculpt_boundary.c
index c2e5d271db5..face0be0500 100644
--- a/source/blender/editors/sculpt_paint/sculpt_boundary.c
+++ b/source/blender/editors/sculpt_paint/sculpt_boundary.c
@@ -104,7 +104,7 @@ static PBVHVertRef sculpt_boundary_get_closest_boundary_vertex(SculptSession *ss
 
   BoundaryInitialVertexFloodFillData fdata = {
       .initial_vertex = initial_vertex,
-      .boundary_initial_vertex = BOUNDARY_VERTEX_NONE,
+      .boundary_initial_vertex = {BOUNDARY_VERTEX_NONE},
       .boundary_initial_vertex_steps = INT_MAX,
       .radius_sq = radius * radius,
   };



More information about the Bf-blender-cvs mailing list