mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: redundant layer access
This commit is contained in:
parent
8214712b19
commit
a19e78aa2d
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue