remove unused args from edgenet fill (since rewrite, but they weren't used before either)
This commit is contained in:
parent
5fafc222f0
commit
0f07ca6809
@ -2088,7 +2088,7 @@ class VIEW3D_MT_edit_mesh_normals(Menu):
|
|||||||
|
|
||||||
|
|
||||||
class VIEW3D_MT_edit_mesh_clean(Menu):
|
class VIEW3D_MT_edit_mesh_clean(Menu):
|
||||||
bl_label = "Clean"
|
bl_label = "Clean up"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
@ -609,19 +609,13 @@ static BMOpDefine bmo_edgenet_fill_def = {
|
|||||||
"edgenet_fill",
|
"edgenet_fill",
|
||||||
/* slots_in */
|
/* slots_in */
|
||||||
{{"edges", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}}, /* input edges */
|
{{"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 */
|
{"mat_nr", BMO_OP_SLOT_INT}, /* material to use */
|
||||||
{"use_smooth", BMO_OP_SLOT_BOOL}, /* smooth state to use */
|
{"use_smooth", BMO_OP_SLOT_BOOL}, /* smooth state to use */
|
||||||
{{'\0'}},
|
{{'\0'}},
|
||||||
},
|
},
|
||||||
/* slots_out */
|
/* slots_out */
|
||||||
/* maps new faces to the group numbers they came from */
|
/* 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'}},
|
{{'\0'}},
|
||||||
},
|
},
|
||||||
bmo_edgenet_fill_exec,
|
bmo_edgenet_fill_exec,
|
||||||
|
@ -153,8 +153,8 @@ void bmo_contextual_create_exec(BMesh *bm, BMOperator *op)
|
|||||||
BMO_op_finish(bm, &op_sub);
|
BMO_op_finish(bm, &op_sub);
|
||||||
|
|
||||||
BMO_op_initf(bm, &op_sub, op->flag,
|
BMO_op_initf(bm, &op_sub, op->flag,
|
||||||
"edgenet_fill edges=%fe use_fill_check=%b mat_nr=%i use_smooth=%b",
|
"edgenet_fill edges=%fe mat_nr=%i use_smooth=%b",
|
||||||
ELE_NEW, true, mat_nr, use_smooth);
|
ELE_NEW, mat_nr, use_smooth);
|
||||||
|
|
||||||
BMO_op_exec(bm, &op_sub);
|
BMO_op_exec(bm, &op_sub);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user