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-08-18 15:44:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-18 15:44:51 +0400
commit19d3e230e6d0cc52ebd82a8b5d0efbbeb396a9cf (patch)
tree125f5abc45d82265a36ae7365813491e13634c1a /source/blender/bmesh/operators
parentfa3481cf07d1f78791af2773b71013ab19fa180b (diff)
improved BM_face_copy_shared to copy from more possible connected loops and add filter function (not used yet).
Diffstat (limited to 'source/blender/bmesh/operators')
-rw-r--r--source/blender/bmesh/operators/bmo_hull.c2
-rw-r--r--source/blender/bmesh/operators/bmo_inset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c
index 500e984f4c9..89da386c1cb 100644
--- a/source/blender/bmesh/operators/bmo_hull.c
+++ b/source/blender/bmesh/operators/bmo_hull.c
@@ -136,7 +136,7 @@ static void hull_output_triangles(BMesh *bm, GHash *hull_triangles)
/* Create new hull face */
f = BM_face_create_quad_tri_v(bm, t->v, 3, example, true);
- BM_face_copy_shared(bm, f);
+ BM_face_copy_shared(bm, f, NULL, NULL);
}
/* Mark face for 'geom.out' slot and select */
BMO_elem_flag_enable(bm, f, HULL_FLAG_OUTPUT_GEOM);
diff --git a/source/blender/bmesh/operators/bmo_inset.c b/source/blender/bmesh/operators/bmo_inset.c
index cffca91eabd..731b895a6b5 100644
--- a/source/blender/bmesh/operators/bmo_inset.c
+++ b/source/blender/bmesh/operators/bmo_inset.c
@@ -796,7 +796,7 @@ void bmo_inset_region_exec(BMesh *bm, BMOperator *op)
#if 0
/* don't use this because face boundaries have no adjacent loops and won't be filled in.
* instead copy from the opposite side with the code below */
- BM_face_copy_shared(bm, f);
+ BM_face_copy_shared(bm, f, NULL, NULL);
#else
{
/* 2 inner loops on the edge between the new face and the original */