Fix: Incorrect vertex group layer "construct" callback

The "set default" callback doesn't need to be defined since it falls
back to clearing the memory, but since "construct" is optional, it
needs to be defined. Mistake in 25237d2625.
This commit is contained in:
Hans Goudey 2022-09-01 08:23:57 -05:00
parent 00d2bda241
commit 3249853ebe
1 changed files with 2 additions and 2 deletions

View File

@ -1651,8 +1651,8 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
layerFree_mdeformvert,
layerInterp_mdeformvert,
nullptr,
layerConstruct_mdeformvert,
nullptr},
nullptr,
layerConstruct_mdeformvert},
/* 3: CD_MEDGE */
{sizeof(MEdge), "MEdge", 1, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr},
/* 4: CD_MFACE */