Subdiv: Fix wrong orig_index for vertices of a loose edge

This commit is contained in:
2019-01-24 12:13:15 +01:00
parent c4be1f861b
commit fa818170e3

View File

@@ -1131,6 +1131,9 @@ static void subdiv_mesh_vertex_of_loose_edge_interpolate(
coarse_vertex_indices,
interpolation_weights, NULL,
2, subdiv_vertex_index);
if (ctx->vert_origindex != NULL) {
ctx->vert_origindex[subdiv_vertex_index] = ORIGINDEX_NONE;
}
}
}