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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-07-02 13:21:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-02 13:22:07 +0300
commitaef72125da1ee971334c3e3b34f0b9ca06e57f9f (patch)
treec87ace6f84cefe1ffa7364eecd5fc6927668918b /source/blender/collada/collada_utils.cpp
parentb1047640ad8bc99a3e959e3ae01e6597b9e29575 (diff)
Correction for MSVC
Diffstat (limited to 'source/blender/collada/collada_utils.cpp')
-rw-r--r--source/blender/collada/collada_utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index c90deeed74a..649c86edd25 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -357,10 +357,11 @@ void bc_triangulate_mesh(Mesh *me)
bool use_beauty = false;
bool tag_only = false;
int quad_method = MOD_TRIANGULATE_QUAD_SHORTEDGE; /* XXX: The triangulation method selection could be offered in the UI */
-
+
+ const struct BMeshCreateParams bm_create_params = {0};
BMesh *bm = BM_mesh_create(
&bm_mesh_allocsize_default,
- &((struct BMeshCreateParams){.use_toolflags = false,}));
+ &bm_create_params);
BMeshFromMeshParams bm_from_me_params = {0};
bm_from_me_params.calc_face_normal = true;
BM_mesh_bm_from_me(bm, me, &bm_from_me_params);