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_mirror.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_mirror.c')
-rw-r--r--source/blender/bmesh/operators/bmo_mirror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_mirror.c b/source/blender/bmesh/operators/bmo_mirror.c
index 82e77fc9a96..128b64b08de 100644
--- a/source/blender/bmesh/operators/bmo_mirror.c
+++ b/source/blender/bmesh/operators/bmo_mirror.c
@@ -48,8 +48,8 @@ void bmesh_mirror_exec(BMesh *bm, BMOperator *op)
float scale[3] = {1.0f, 1.0f, 1.0f};
float dist = BMO_slot_float_get(op, "mergedist");
int i, ototvert, ototedge, axis = BMO_slot_int_get(op, "axis");
- int mirroru = BMO_slot_int_get(op, "mirror_u");
- int mirrorv = BMO_slot_int_get(op, "mirror_v");
+ int mirroru = BMO_slot_bool_get(op, "mirror_u");
+ int mirrorv = BMO_slot_bool_get(op, "mirror_v");
ototvert = bm->totvert;
ototedge = bm->totedge;