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>2019-05-31 15:51:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-31 15:55:15 +0300
commitd8dbd49a2f23b7637f05fc058f39bdf6ab706624 (patch)
tree0805b9372c82ae6505d87e879824efe1d3e32f8e /source/blender/modifiers/intern/MOD_remesh.c
parent8987f7987d8160e1f6e79e8c85d6ce65b885ab25 (diff)
Cleanup: style, use braces in source/
Automated using clang-tidy.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_remesh.c')
-rw-r--r--source/blender/modifiers/intern/MOD_remesh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_remesh.c b/source/blender/modifiers/intern/MOD_remesh.c
index daf9a615f3f..23da1ec2754 100644
--- a/source/blender/modifiers/intern/MOD_remesh.c
+++ b/source/blender/modifiers/intern/MOD_remesh.c
@@ -126,8 +126,9 @@ static void dualcon_add_quad(void *output_v, const int vert_indices[4])
cur_poly->loopstart = output->curface * 4;
cur_poly->totloop = 4;
- for (i = 0; i < 4; i++)
+ for (i = 0; i < 4; i++) {
mloop[output->curface * 4 + i].v = vert_indices[i];
+ }
output->curface++;
}
@@ -145,8 +146,9 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *UNUSED(c
init_dualcon_mesh(&input, mesh);
- if (rmd->flag & MOD_REMESH_FLOOD_FILL)
+ if (rmd->flag & MOD_REMESH_FLOOD_FILL) {
flags |= DUALCON_FLOOD_FILL;
+ }
switch (rmd->mode) {
case MOD_REMESH_CENTROID: