Commit: 055fa3fa5eb7db6fba6047d4421e9bf7e7d9dda5
Author: Joseph Eagar
Date:   Sat Aug 28 13:59:00 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB055fa3fa5eb7db6fba6047d4421e9bf7e7d9dda5

fix missing curly braces

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

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 146e6da9fee..98075c7b7e7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1779,7 +1779,7 @@ SculptCornerType SCULPT_vertex_is_corner(const 
SculptSession *ss,
         // can't check face sets in this case
       }
       break;
-    case PBVH_GRIDS:
+    case PBVH_GRIDS: {
       const CCGKey *key = BKE_pbvh_get_grid_key(ss->pbvh);
       const int grid_index = vertex.i / key->grid_area;
       const int vertex_index = vertex.i - grid_index * key->grid_area;
@@ -1798,6 +1798,7 @@ SculptCornerType SCULPT_vertex_is_corner(const 
SculptSession *ss,
           return false;
           break;
       }
+    }
   }
 
   return ret;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to