Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-17 11:39:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-17 13:00:56 +0300
commita19e78aa2dd1cc1265eae206ff817bd2815c968f (patch)
treee45c5d22d2508412c9f2ea4f90efcffd931e92e8 /source/blender/modifiers
parent8214712b19cb4400610273054ad22ec4b7e4c539 (diff)
Cleanup: redundant layer access
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_weighted_normal.c1
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;