Fix mixup w/ wmOperator/BMOperator flag
authorCampbell Barton <ideasman42@gmail.com>
Wed, 18 Nov 2015 00:09:44 +0000 (11:09 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 18 Nov 2015 00:09:44 +0000 (11:09 +1100)
source/blender/editors/mesh/editmesh_bisect.c
source/blender/editors/mesh/editmesh_tools.c

index 08d0697e0f1482227f5257f3f14f8ec81261d74b..0e1ba2b1c254e59bd3d4ba5bcb2c81a618405c80 100644 (file)
@@ -285,13 +285,13 @@ static int mesh_bisect_exec(bContext *C, wmOperator *op)
 
                /* Fill */
                BMO_op_initf(
-                       bm, &bmop_fill, op->flag,
+                       bm, &bmop_fill, 0,
                        "triangle_fill edges=%S normal=%v use_dissolve=%b",
                        &bmop, "geom_cut.out", normal_fill, true);
                BMO_op_exec(bm, &bmop_fill);
 
                /* Copy Attributes */
-               BMO_op_initf(bm, &bmop_attr, op->flag,
+               BMO_op_initf(bm, &bmop_attr, 0,
                             "face_attribute_fill faces=%S use_normals=%b use_data=%b",
                             &bmop_fill, "geom.out", false, true);
                BMO_op_exec(bm, &bmop_attr);
index 67c23a9f7a15afca8b1948b6ded1686a57aba9c4..2d9de6da244be58aca351cd679f3dc3eeab599ae 100644 (file)
@@ -5127,7 +5127,7 @@ static int edbm_bridge_edge_loops_exec(bContext *C, wmOperator *op)
                                EDBM_mesh_normals_update(em);
 
                                BMO_op_initf(
-                                       em->bm, &bmop_subd, op->flag,
+                                       em->bm, &bmop_subd, 0,
                                        "subdivide_edgering edges=%S interp_mode=%i cuts=%i smooth=%f "
                                        "profile_shape=%i profile_shape_factor=%f",
                                        &bmop, "edges.out", op_props.interp_mode, op_props.cuts, op_props.smooth,