forked from bartvdbraak/blender
Cleanup: redundant layer access
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user