diff options
author | Charlie Jolly <mistajolly@gmail.com> | 2018-08-22 18:01:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-08-22 18:02:41 +0300 |
commit | 686480269be7efb95e81e55aa03f266ae9a260d7 (patch) | |
tree | c1c078c4f7ed1a6f9e50017e28438402e301cc5c /source/blender | |
parent | cdaf5a108365708351dafe9a35ec9902b9cc867f (diff) |
MSVS 2017 Bug - Subdiv Mesh
Apparently, struct initialization can not be empty,
Reviewers: sergey
Reviewed By: sergey
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3636
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_mesh.c b/source/blender/blenkernel/intern/subdiv_mesh.c index dff23c5f816..ae637031140 100644 --- a/source/blender/blenkernel/intern/subdiv_mesh.c +++ b/source/blender/blenkernel/intern/subdiv_mesh.c @@ -1124,7 +1124,7 @@ Mesh *BKE_subdiv_to_mesh( SUBDIV_STATS_SUBDIV_TO_MESH_GEOMETRY); SubdivForeachContext foreach_context; setup_foreach_callbacks(&foreach_context, subdiv); - SubdivMeshTLS tls = {}; + SubdivMeshTLS tls = {0}; foreach_context.user_data = &subdiv_context; foreach_context.user_data_tls_size = sizeof(SubdivMeshTLS); foreach_context.user_data_tls = &tls; |