Fix T62776: Face maps are initialized incorrectly

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4586
This commit is contained in:
Jacques Lucke 2019-03-25 16:32:01 +01:00
parent 9cd970734b
commit 84240ebb3e
1 changed files with 2 additions and 3 deletions

View File

@ -1252,9 +1252,8 @@ static void layerSwap_flnor(void *data, const int *corner_indices)
static void layerDefault_fmap(void *data, int count)
{
int *fmap_num = (int *)data;
int i;
for (i = 0; i < count; i++) {
*fmap_num = -1;
for (int i = 0; i < count; i++) {
fmap_num[i] = -1;
}
}