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-02-20 05:52:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-20 05:52:35 +0400
commit1953f042e6f51ce9a795f1bce3cca7e8560cef86 (patch)
tree2ede8daf2f69626c3bd9e4e44a304a9ef2a6c630 /source/blender/bmesh/operators/bmo_mesh_conv.c
parent818e19713a089ffb500201bf3e1c3d8327c75fb9 (diff)
added boolean type for bmesh operators, will make python wrapping clearer and also makes existing calls more obvious.
also corrected some error reports.
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, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_mesh_conv.c b/source/blender/bmesh/operators/bmo_mesh_conv.c
index 4f6db9056e5..7b929042ea9 100644
--- a/source/blender/bmesh/operators/bmo_mesh_conv.c
+++ b/source/blender/bmesh/operators/bmo_mesh_conv.c
@@ -69,7 +69,7 @@ void mesh_to_bmesh_exec(BMesh *bm, BMOperator *op)
BLI_array_declare(fedges);
float (*keyco)[3] = NULL;
int *keyi;
- int set_key = BMO_slot_int_get(op, "set_shapekey");
+ int set_key = BMO_slot_bool_get(op, "set_shapekey");
int totuv, i, j;
if (!me || !me->totvert) {
@@ -370,7 +370,7 @@ void object_load_bmesh_exec(BMesh *bm, BMOperator *op)
/* Scene *scene = BMO_slot_ptr_get(op, "scene"); */
Mesh *me = ob->data;
- BMO_op_callf(bm, "bmesh_to_mesh mesh=%p object=%p notesselation=%i", me, ob, TRUE);
+ BMO_op_callf(bm, "bmesh_to_mesh mesh=%p object=%p notesselation=%b", me, ob, TRUE);
}
@@ -447,7 +447,7 @@ void bmesh_to_mesh_exec(BMesh *bm, BMOperator *op)
BMFace *f;
BMIter iter, liter;
int i, j, *keyi, ototvert, totloop;
- int dotess = !BMO_slot_int_get(op, "notesselation");
+ int dotess = !BMO_slot_bool_get(op, "notesselation");
ototvert = me->totvert;