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/modifiers/intern
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/modifiers/intern')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 91ff1ad0063..8aefd928858 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -144,8 +144,8 @@ static DerivedMesh *applyModifier(ModifierData *md, struct Object *ob,
}
}
- BMO_op_callf(bm, "bevel geom=%fe percent=%f use_even=%i use_dist=%i",
- EDGE_MARK, bmd->value, (bmd->flags & BME_BEVEL_EVEN)!=0, (bmd->flags & BME_BEVEL_DIST) != 0);
+ BMO_op_callf(bm, "bevel geom=%fe percent=%f use_even=%b use_dist=%b",
+ EDGE_MARK, bmd->value, (bmd->flags & BME_BEVEL_EVEN) != 0, (bmd->flags & BME_BEVEL_DIST) != 0);
BMO_pop(bm);
BLI_assert(em->looptris == NULL);