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-05-02 00:08:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-02 00:08:23 +0400
commit6327c9aae18df2f226bd2b3207d51c920dc9a8af (patch)
treee8ab58bd38fab307ba227ce797c2189434f2d13f /source/blender/editors/mesh
parent657e62c9120c70beff8241c347b6a547402beb5c (diff)
style cleanup: whitespace, braces
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index e8c1a034dc9..92f4d6f01d5 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -4368,8 +4368,9 @@ static int edbm_convex_hull_exec(bContext *C, wmOperator *op)
/* Delete unused vertices, edges, and faces */
if (RNA_boolean_get(op->ptr, "delete_unused")) {
- if(!EDBM_op_callf(em, op, "del geom=%s context=%i",
- &bmop, "unused_geom", DEL_ONLYTAGGED)) {
+ if (!EDBM_op_callf(em, op, "del geom=%s context=%i",
+ &bmop, "unused_geom", DEL_ONLYTAGGED))
+ {
EDBM_op_finish(em, &bmop, op, TRUE);
return OPERATOR_CANCELLED;
}
@@ -4377,8 +4378,9 @@ static int edbm_convex_hull_exec(bContext *C, wmOperator *op)
/* Delete hole edges/faces */
if (RNA_boolean_get(op->ptr, "make_holes")) {
- if(!EDBM_op_callf(em, op, "del geom=%s context=%i",
- &bmop, "holes_geom", DEL_ONLYTAGGED)) {
+ if (!EDBM_op_callf(em, op, "del geom=%s context=%i",
+ &bmop, "holes_geom", DEL_ONLYTAGGED))
+ {
EDBM_op_finish(em, &bmop, op, TRUE);
return OPERATOR_CANCELLED;
}
@@ -4386,9 +4388,10 @@ static int edbm_convex_hull_exec(bContext *C, wmOperator *op)
/* Merge adjacent triangles */
if (RNA_boolean_get(op->ptr, "join_triangles")) {
- if(!EDBM_op_callf(em, op, "join_triangles faces=%s limit=%f",
- &bmop, "geomout",
- RNA_float_get(op->ptr, "limit"))) {
+ if (!EDBM_op_callf(em, op, "join_triangles faces=%s limit=%f",
+ &bmop, "geomout",
+ RNA_float_get(op->ptr, "limit")))
+ {
EDBM_op_finish(em, &bmop, op, TRUE);
return OPERATOR_CANCELLED;
}