Fix crash adding custom normals

Caused by error converting this file to C++
eccdced972.
This commit is contained in:
Campbell Barton 2021-08-03 15:01:39 +10:00
parent 04c75c5ce7
commit 1973fd89df
1 changed files with 1 additions and 1 deletions

View File

@ -987,7 +987,7 @@ void BKE_edges_sharp_from_angle_set(const struct MVert *mverts,
/* Simple mapping from a loop to its polygon index. */
int *loop_to_poly = (int *)MEM_malloc_arrayN((size_t)numLoops, sizeof(*loop_to_poly), __func__);
LoopSplitTaskDataCommon common_data;
LoopSplitTaskDataCommon common_data = {};
common_data.mverts = mverts;
common_data.medges = medges;
common_data.mloops = mloops;