From a19e78aa2dd1cc1265eae206ff817bd2815c968f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Mar 2019 19:39:21 +1100 Subject: Cleanup: redundant layer access --- source/blender/modifiers/intern/MOD_weighted_normal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 9eda072b7d3..2cf15fa43a0 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -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; -- cgit v1.2.3