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-03-27 09:14:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-27 09:14:36 +0300
commit8d7005d7152459eb66fa33ae14eba94a0169adbb (patch)
tree78a117f4c1256dda7ce1af72f3e5b04ecbb0c4cd /source/blender/bmesh/operators/bmo_fill_grid.c
parente26b67fa1e13b45c395878dfc667af0b4cc458cf (diff)
Cleanup: style, use braces for bmesh
Diffstat (limited to 'source/blender/bmesh/operators/bmo_fill_grid.c')
-rw-r--r--source/blender/bmesh/operators/bmo_fill_grid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_fill_grid.c b/source/blender/bmesh/operators/bmo_fill_grid.c
index ff9ad5135dd..09c174586f8 100644
--- a/source/blender/bmesh/operators/bmo_fill_grid.c
+++ b/source/blender/bmesh/operators/bmo_fill_grid.c
@@ -89,7 +89,9 @@ static void quad_verts_to_barycentric_tri(
normalize_v3(no);
}
- if (is_flip) negate_v3(no);
+ if (is_flip) {
+ negate_v3(no);
+ }
mul_v3_fl(no, len_v3v3(tri[0], tri[1]));
mid_v3_v3v3(tri[2], tri[0], tri[1]);