Code cleanup, cont. A small omission here.
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 15 Nov 2013 21:04:18 +0000 (23:04 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 15 Nov 2013 21:04:18 +0000 (23:04 +0200)
source/blender/editors/sculpt_paint/paint_mask.c

index 42652cfa5788dfd6a221fc6fd6b99cfb2ef31c90..9b906c460e3ea6754c6d50cc4cc2d2715acd53ba 100644 (file)
@@ -236,8 +236,6 @@ int do_sculpt_mask_box_select(ViewContext *vc, rcti *rect, bool select, bool UNU
                                PBVHVertexIter vi;
                                bool any_masked = false;
 
-                               sculpt_undo_push_node(ob, nodes[i], SCULPT_UNDO_MASK);
-
                                BKE_pbvh_vertex_iter_begin(pbvh, nodes[i], vi, PBVH_ITER_UNIQUE) {
                                        if (is_effected(clip_planes_final, vi.co)) {
                                                if (!any_masked) {