Alembic: fixed MSVC incompatibility
authorSybren A. Stüvel <sybren@stuvel.eu>
Fri, 8 Jun 2018 13:09:01 +0000 (15:09 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Fri, 8 Jun 2018 13:09:10 +0000 (15:09 +0200)
source/blender/alembic/intern/abc_mesh.cc

index d56a05f65b799c1ac62fb82cc414bac84b1dba0b..2b739837239df67f7cc7c4f7e689f7c010658933 100644 (file)
@@ -540,8 +540,8 @@ Mesh *AbcMeshWriter::getFinalMesh(bool &r_needsfree)
                const int quad_method = m_settings.quad_method;
                const int ngon_method = m_settings.ngon_method;
 
-               struct BMeshCreateParams bmcp = {.use_toolflags = false,};
-               struct BMeshFromMeshParams bmfmp = {.calc_face_normal = true,};
+               struct BMeshCreateParams bmcp = {false};
+               struct BMeshFromMeshParams bmfmp = {true, false, false, 0};
                BMesh *bm = BKE_mesh_to_bmesh_ex(mesh, &bmcp, &bmfmp);
 
                BM_mesh_triangulate(bm, quad_method, ngon_method, tag_only, NULL, NULL, NULL);