remove unused args from edgenet fill (since rewrite, but they weren't used before...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 17 Aug 2013 09:25:12 +0000 (09:25 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 17 Aug 2013 09:25:12 +0000 (09:25 +0000)
release/scripts/startup/bl_ui/space_view3d.py
source/blender/bmesh/intern/bmesh_opdefines.c
source/blender/bmesh/operators/bmo_create.c

index 58eecc2641dd3a481f1b981cb9bff9c011e495bc..781ebd32318b04c41d1279888770e144882a6d53 100644 (file)
@@ -2088,7 +2088,7 @@ class VIEW3D_MT_edit_mesh_normals(Menu):
 
 
 class VIEW3D_MT_edit_mesh_clean(Menu):
-    bl_label = "Clean"
+    bl_label = "Clean up"
 
     def draw(self, context):
         layout = self.layout
index 4f8a851c7802aea7f2f75c9e7a61caa86d47a378..371d55f385ea81c30c577e9f11cea6146f690d12 100644 (file)
@@ -609,19 +609,13 @@ static BMOpDefine bmo_edgenet_fill_def = {
        "edgenet_fill",
        /* slots_in */
        {{"edges", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}}, /* input edges */
-       /* restricts edges to groups.  maps edges to integer */
-        {"restrict",     BMO_OP_SLOT_MAPPING, {BMO_OP_SLOT_SUBTYPE_MAP_BOOL}},
-        {"use_restrict",        BMO_OP_SLOT_BOOL},
-        {"use_fill_check",        BMO_OP_SLOT_BOOL},
-        {"exclude_faces", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}}, /* list of faces to ignore for manifold check */
         {"mat_nr",         BMO_OP_SLOT_INT},      /* material to use */
         {"use_smooth",        BMO_OP_SLOT_BOOL},  /* smooth state to use */
         {{'\0'}},
        },
        /* slots_out */
        /* maps new faces to the group numbers they came from */
-       {{"face_groupmap.out",     BMO_OP_SLOT_MAPPING, {BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
-        {"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},     /* new faces */
+       {{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},  /* new faces */
         {{'\0'}},
        },
        bmo_edgenet_fill_exec,
index 11144d1186c951a0d595d7a2c6cdb67fd8bffecb..cce5c992d2ad196eaaf7c12e258e35559af8f5f9 100644 (file)
@@ -153,8 +153,8 @@ void bmo_contextual_create_exec(BMesh *bm, BMOperator *op)
                BMO_op_finish(bm, &op_sub);
 
                BMO_op_initf(bm, &op_sub, op->flag,
-                            "edgenet_fill edges=%fe use_fill_check=%b mat_nr=%i use_smooth=%b",
-                            ELE_NEW, true, mat_nr, use_smooth);
+                            "edgenet_fill edges=%fe mat_nr=%i use_smooth=%b",
+                            ELE_NEW, mat_nr, use_smooth);
 
                BMO_op_exec(bm, &op_sub);