diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-03-14 20:07:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-03-14 20:10:31 +0300 |
commit | 9009622b5464f13cc9521663b43605bf85e8e0b5 (patch) | |
tree | 72d95313921af3c5687e13e58dcf6f9c4fe68232 /source/blender/modifiers/intern | |
parent | 9521b67ac0db5958df14ff92e5334bca07902481 (diff) | |
parent | b0823962e9b82d2bfa0551cb072bd61b67ddc773 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_skin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c index d2d8da289b7..4afe6ca33e2 100644 --- a/source/blender/modifiers/intern/MOD_skin.c +++ b/source/blender/modifiers/intern/MOD_skin.c @@ -1304,9 +1304,9 @@ static void skin_fix_hole_no_good_verts(BMesh *bm, Frame *frame, BMFace *split_f else if (split_face->len > 4) { /* Maintain a dynamic vert array containing the split_face's * vertices, avoids frequent allocs in collapse_face_corners() */ - if (BLI_array_count(vert_buf) < split_face->len) { + if (BLI_array_len(vert_buf) < split_face->len) { BLI_array_grow_items(vert_buf, (split_face->len - - BLI_array_count(vert_buf))); + BLI_array_len(vert_buf))); } /* Get split face's verts */ |