From 8fa16411e619a97b772b6bdb98a2726441ef69dc Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Mon, 15 Oct 2018 12:27:35 +0300 Subject: [PATCH] Fix an obvious typo: use CD_MASK_CUSTOMLOOPNORMAL for CustomDataMask. --- source/blender/modifiers/intern/MOD_normal_edit.c | 2 +- source/blender/modifiers/intern/MOD_weighted_normal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/modifiers/intern/MOD_normal_edit.c b/source/blender/modifiers/intern/MOD_normal_edit.c index 14af389668c..ad2d678a9e3 100644 --- a/source/blender/modifiers/intern/MOD_normal_edit.c +++ b/source/blender/modifiers/intern/MOD_normal_edit.c @@ -502,7 +502,7 @@ static void initData(ModifierData *md) static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md) { NormalEditModifierData *enmd = (NormalEditModifierData *)md; - CustomDataMask dataMask = CD_CUSTOMLOOPNORMAL; + CustomDataMask dataMask = CD_MASK_CUSTOMLOOPNORMAL; /* Ask for vertexgroups if we need them. */ if (enmd->defgrp_name[0]) { diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 78a994a7107..c94bc56de62 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -614,7 +614,7 @@ static void initData(ModifierData *md) static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md) { WeightedNormalModifierData *wnmd = (WeightedNormalModifierData *)md; - CustomDataMask dataMask = CD_CUSTOMLOOPNORMAL; + CustomDataMask dataMask = CD_MASK_CUSTOMLOOPNORMAL; if (wnmd->defgrp_name[0]) { dataMask |= CD_MASK_MDEFORMVERT;