diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-02 20:11:13 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-04 12:48:48 +0300 |
commit | d3b27bd19c688b297d952f7c27c721dc079612b6 (patch) | |
tree | f8e7515bbcedba45771fa1d7165ec7e15ee5b0d8 /tests/gtests/bmesh/bmesh_core_test.cc | |
parent | d4eb28ab7e486dad0d16e363f3576b19630a0aa4 (diff) |
Fix bmesh test after recent refactor.
Diffstat (limited to 'tests/gtests/bmesh/bmesh_core_test.cc')
-rw-r--r-- | tests/gtests/bmesh/bmesh_core_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gtests/bmesh/bmesh_core_test.cc b/tests/gtests/bmesh/bmesh_core_test.cc index 0cbb6ca343e..f386abc0b2b 100644 --- a/tests/gtests/bmesh/bmesh_core_test.cc +++ b/tests/gtests/bmesh/bmesh_core_test.cc @@ -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); |