[Bf-blender-cvs] [0dd9a9e66a3] blender2.8: Alembic: fixed MSVC incompatibility
Sybren A. Stüvel
noreply at git.blender.org
Fri Jun 8 15:10:59 CEST 2018
Commit: 0dd9a9e66a31fe2adfa79f2378600d3ac15a8e71
Author: Sybren A. Stüvel
Date: Fri Jun 8 15:09:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB0dd9a9e66a31fe2adfa79f2378600d3ac15a8e71
Alembic: fixed MSVC incompatibility
===================================================================
M source/blender/alembic/intern/abc_mesh.cc
===================================================================
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index d56a05f65b7..2b739837239 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -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);
More information about the Bf-blender-cvs
mailing list