Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-02-19 09:41:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-19 09:41:37 +0300
commit860939ccc2c11f0503588d35e2b23326997c9768 (patch)
tree26052713bf11327bfba723179588dd470b8de0bf /source/blender/bmesh/operators/bmo_mesh_conv.c
parent05f3e245a8e1a1ad327c6dc993551cdd832d4e3c (diff)
Cleanup: remove BMeshToMeshParams.calc_tessface
This wasn't used, tessface is being phased out. Caller can run explicitly if needed.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_mesh_conv.c')
-rw-r--r--source/blender/bmesh/operators/bmo_mesh_conv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/bmesh/operators/bmo_mesh_conv.c b/source/blender/bmesh/operators/bmo_mesh_conv.c
index 981930705b3..7311ed5ce64 100644
--- a/source/blender/bmesh/operators/bmo_mesh_conv.c
+++ b/source/blender/bmesh/operators/bmo_mesh_conv.c
@@ -62,20 +62,18 @@ void bmo_object_load_bmesh_exec(BMesh *bm, BMOperator *op)
Mesh *me = ob->data;
BMO_op_callf(bm, op->flag,
- "bmesh_to_mesh mesh=%p object=%p skip_tessface=%b",
- me, ob, true);
+ "bmesh_to_mesh mesh=%p object=%p",
+ me, ob);
}
void bmo_bmesh_to_mesh_exec(BMesh *bm, BMOperator *op)
{
Mesh *me = BMO_slot_ptr_get(op->slots_in, "mesh");
/* Object *ob = BMO_slot_ptr_get(op, "object"); */
- const bool dotess = !BMO_slot_bool_get(op->slots_in, "skip_tessface");
BM_mesh_bm_to_me(
bm, me,
(&(struct BMeshToMeshParams){
- .calc_tessface = dotess,
.calc_object_remap = true,
}));
}