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>2013-02-05 15:30:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-05 15:30:50 +0400
commite7cead09944a97854309c5eea56fb4fadb92fb3d (patch)
treea6380a3c25e832488501907ec44ddffbcc081bc8 /source/blender/bmesh/operators/bmo_triangulate.c
parent9ddf928dbd732a9394a17c65ac95ecee30f3efcd (diff)
own recent change to triangulate bmesh operator stopped filling in mapping slot 'face_map.out', not used by blender its self but useful for scripts, enable this again.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_triangulate.c')
-rw-r--r--source/blender/bmesh/operators/bmo_triangulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_triangulate.c b/source/blender/bmesh/operators/bmo_triangulate.c
index bbcb07e1174..e06929e339d 100644
--- a/source/blender/bmesh/operators/bmo_triangulate.c
+++ b/source/blender/bmesh/operators/bmo_triangulate.c
@@ -44,11 +44,12 @@
void bmo_triangulate_exec(BMesh *bm, BMOperator *op)
{
const bool use_beauty = BMO_slot_bool_get(op->slots_in, "use_beauty");
+ BMOpSlot *slot_facemap_out = BMO_slot_get(op->slots_out, "face_map.out");
BM_mesh_elem_hflag_disable_all(bm, BM_FACE | BM_EDGE, BM_ELEM_TAG, false);
BMO_slot_buffer_hflag_enable(bm, op->slots_in, "faces", BM_FACE, BM_ELEM_TAG, false);
- BM_mesh_triangulate(bm, use_beauty, true);
+ BM_mesh_triangulate(bm, use_beauty, true, op, slot_facemap_out);
if (use_beauty) {
BMO_op_callf(bm, op->flag,