[Bf-blender-cvs] [91604279c93] master: Fix missing break statement in recent face-set support

Campbell Barton noreply at git.blender.org
Wed Apr 1 01:51:01 CEST 2020


Commit: 91604279c933b61bd8bef5d0bcf00691a0cfd91f
Author: Campbell Barton
Date:   Wed Apr 1 10:43:48 2020 +1100
Branches: master
https://developer.blender.org/rB91604279c933b61bd8bef5d0bcf00691a0cfd91f

Fix missing break statement in recent face-set support

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

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 50b8c9a9677..25cf17b12ce 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -436,6 +436,7 @@ void SCULPT_visibility_sync_all_face_sets_to_vertices(SculptSession *ss)
       for (int i = 0; i < ss->totvert; i++) {
         sculpt_visibility_sync_face_sets_to_vertex(ss, i);
       }
+      break;
     }
     case PBVH_GRIDS: {
       BKE_pbvh_sync_face_sets_to_grids(ss->pbvh);



More information about the Bf-blender-cvs mailing list