Fix bmesh test after recent refactor.

This commit is contained in:
Bastien Montagne 2016-07-02 19:11:13 +02:00
parent d4eb28ab7e
commit d3b27bd19c
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ TEST(bmesh_core, BMVertCreate) {
BMVert *bv1, *bv2, *bv3;
const float co1[3] = {1.0f, 2.0f, 0.0f};
bm = BM_mesh_create(&bm_mesh_allocsize_default);
BMeshCreateParams bm_params;
bm_params.use_toolflags = true;
bm = BM_mesh_create(&bm_mesh_allocsize_default, &bm_params);
EXPECT_EQ(0, bm->totvert);
/* make a custom layer so we can see if it is copied properly */
BM_data_layer_add(bm, &bm->vdata, CD_PROP_FLT);