Merging r58464 through r58474 from trunk into soc-2013-depsgraph_mt
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index 543a1443ce252f1da246f14713e4950a8d0b6d84..029bb8fd1ab33553557e06b5f6f42f3a22d4fa95 100644 (file)
@@ -1180,6 +1180,7 @@ static void calc_sculpt_normal(Sculpt *sd, Object *ob,
 
                case SCULPT_DISP_DIR_AREA:
                        calc_area_normal(sd, ob, an, nodes, totnode);
+                       break;
 
                default:
                        break;
@@ -2460,6 +2461,7 @@ static void calc_sculpt_plane(Sculpt *sd, Object *ob, PBVHNode **nodes, int totn
 
                        case SCULPT_DISP_DIR_AREA:
                                calc_area_normal_and_flatten_center(sd, ob, nodes, totnode, an, fc);
+                               break;
 
                        default:
                                break;