Alembic: fixed MSVC incompatibility

This commit is contained in:
Sybren A. Stüvel 2018-06-08 15:09:01 +02:00
parent f504306671
commit 0dd9a9e66a
1 changed files with 2 additions and 2 deletions

View 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);