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>2012-03-01 21:38:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-01 21:38:04 +0400
commit522b73a63519903f57b65f57d94006f50bcab1ae (patch)
tree3ff915cdc1d15bb7d3c944a0ef6b094e43d07dca /source/blender/bmesh/operators/bmo_dupe.c
parent1f473a78b80aa4de53d304e4700b98d4a0ae8f1e (diff)
bmesh api:
* name bmesh operator func's BMO_slot_buffer_* rather then BMO_slot_* since it wasnt obvious some only dealt with buffer, some both. * more typechecks and asserts of BMO_ functions (I lost some time calling a map with a buffer function that failed silently). * small speedup for extrude check - test if the edge is wire _before_ doign a hash lookup.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_dupe.c')
-rw-r--r--source/blender/bmesh/operators/bmo_dupe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_dupe.c b/source/blender/bmesh/operators/bmo_dupe.c
index 20f1920c07f..7c8192d1ccf 100644
--- a/source/blender/bmesh/operators/bmo_dupe.c
+++ b/source/blender/bmesh/operators/bmo_dupe.c
@@ -335,7 +335,7 @@ void bmo_dupe_exec(BMesh *bm, BMOperator *op)
BMO_slot_copy(dupeop, dupeop, "geom", "origout");
/* Now alloc the new output buffer */
- BMO_slot_from_flag(bm, dupeop, "newout", DUPE_NEW, BM_ALL);
+ BMO_slot_buffer_from_flag(bm, dupeop, "newout", DUPE_NEW, BM_ALL);
}
#if 0 /* UNUSED */
@@ -348,7 +348,7 @@ void BMO_dupe_from_flag(BMesh *bm, int etypeflag, const char hflag)
BMOperator dupeop;
BMO_op_init(bm, &dupeop, "dupe");
- BMO_slot_from_hflag(bm, &dupeop, "geom", hflag, etypeflag);
+ BMO_slot_buffer_from_hflag(bm, &dupeop, "geom", hflag, etypeflag);
BMO_op_exec(bm, &dupeop);
BMO_op_finish(bm, &dupeop);
@@ -429,7 +429,7 @@ void bmo_split_exec(BMesh *bm, BMOperator *op)
/* connect outputs of dupe to delete, exluding keep geometr */
BMO_slot_int_set(&delop, "context", DEL_FACES);
- BMO_slot_from_flag(bm, &delop, "geom", SPLIT_INPUT, BM_ALL);
+ BMO_slot_buffer_from_flag(bm, &delop, "geom", SPLIT_INPUT, BM_ALL);
BMO_op_exec(bm, &delop);