[Bf-blender-cvs] [00246051947] newboolean: Fix a test that needs a new kind of initializer.

Howard Trickey noreply at git.blender.org
Mon Jul 13 03:46:22 CEST 2020


Commit: 002460519478880fc3fb956bc9caddea61ea5118
Author: Howard Trickey
Date:   Sun Jul 12 21:45:53 2020 -0400
Branches: newboolean
https://developer.blender.org/rB002460519478880fc3fb956bc9caddea61ea5118

Fix a test that needs a new kind of initializer.

===================================================================

M	tests/gtests/blenlib/BLI_mesh_intersect_test.cc

===================================================================

diff --git a/tests/gtests/blenlib/BLI_mesh_intersect_test.cc b/tests/gtests/blenlib/BLI_mesh_intersect_test.cc
index ec204b9515a..92551d3f839 100644
--- a/tests/gtests/blenlib/BLI_mesh_intersect_test.cc
+++ b/tests/gtests/blenlib/BLI_mesh_intersect_test.cc
@@ -376,7 +376,7 @@ TEST(mesh_intersect, TwoTris)
     int nv_out;
     int nf_out;
   };
-  Array<two_tri_test_spec> test_tris = {
+  Array<two_tri_test_spec> test_tris = Span<two_tri_test_spec>{
       {0, 1, 8, 8},  /* 0: T1 pierces T0 inside at (1,11/6,13/6) and (1,11/5,2). */
       {0, 2, 8, 8},  /* 1: T2 intersects T0 inside (1,11/5,2) and edge (1,7/3,8/3). */
       {0, 3, 8, 7},  /* 2: T3 intersects T0 (1,11/5,2) and edge-edge (1,5/2,5/2). */



More information about the Bf-blender-cvs mailing list