diff options
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_boolean.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_boolean.cc b/source/blender/bmesh/tools/bmesh_boolean.cc index 39b425a41df..6031e160c8c 100644 --- a/source/blender/bmesh/tools/bmesh_boolean.cc +++ b/source/blender/bmesh/tools/bmesh_boolean.cc @@ -52,7 +52,7 @@ static IMesh mesh_from_bm(BMesh *bm, BM_mesh_elem_index_ensure(bm, BM_VERT | BM_EDGE | BM_FACE); BM_mesh_elem_table_ensure(bm, BM_VERT | BM_EDGE | BM_FACE); /* Account for triangulation and intersects. */ - const int estimate_num_outv = (3 * bm->totvert) / 2; + const int estimate_num_outv = 3 * bm->totvert; const int estimate_num_outf = 4 * bm->totface; arena->reserve(estimate_num_outv, estimate_num_outf); Array<const Vert *> vert(bm->totvert); |