diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-17 11:39:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-17 13:00:56 +0300 |
commit | a19e78aa2dd1cc1265eae206ff817bd2815c968f (patch) | |
tree | e45c5d22d2508412c9f2ea4f90efcffd931e92e8 | |
parent | 8214712b19cb4400610273054ad22ec4b7e4c539 (diff) |
Cleanup: redundant layer access
-rw-r--r-- | source/blender/modifiers/intern/MOD_weighted_normal.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |