Cleanup: redundant layer access

This commit is contained in:
Campbell Barton 2019-03-17 19:39:21 +11:00
parent 8214712b19
commit a19e78aa2d

@ -537,7 +537,6 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
const bool has_clnors = clnors != NULL;
if (!clnors) {
clnors = CustomData_add_layer(ldata, CD_CUSTOMLOOPNORMAL, CD_CALLOC, NULL, numLoops);
clnors = CustomData_get_layer(ldata, CD_CUSTOMLOOPNORMAL);
}
MDeformVert *dvert;