[Bf-blender-cvs] [5b22713c226] master: Cleanup: compiler warning

Brecht Van Lommel noreply at git.blender.org
Mon Feb 17 13:24:15 CET 2020


Commit: 5b22713c22600f5286542aa0c690537b2c04c809
Author: Brecht Van Lommel
Date:   Mon Feb 17 13:05:07 2020 +0100
Branches: master
https://developer.blender.org/rB5b22713c22600f5286542aa0c690537b2c04c809

Cleanup: compiler warning

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index f03da21e02a..b6da1cc5a64 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1637,7 +1637,7 @@ static void calc_area_center(
       .use_area_cos = true,
   };
 
-  AreaNormalCenterTLSData anctd = {0};
+  AreaNormalCenterTLSData anctd = {{{0}}};
 
   PBVHParallelSettings settings;
   BKE_pbvh_parallel_range_settings(&settings, (sd->flags & SCULPT_USE_OPENMP), totnode);



More information about the Bf-blender-cvs mailing list