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
path: root/tests
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-02 20:11:13 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-04 12:48:48 +0300
commitd3b27bd19c688b297d952f7c27c721dc079612b6 (patch)
treef8e7515bbcedba45771fa1d7165ec7e15ee5b0d8 /tests
parentd4eb28ab7e486dad0d16e363f3576b19630a0aa4 (diff)
Fix bmesh test after recent refactor.
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/bmesh/bmesh_core_test.cc4
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);