diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-15 12:27:35 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-15 12:28:44 +0300 |
commit | 8fa16411e619a97b772b6bdb98a2726441ef69dc (patch) | |
tree | e96b44e5623d19a57c0a0f74551643ff06b260e0 /source/blender | |
parent | 0c394530718880064b04e53032dd9cce0cbc31e7 (diff) |
Fix an obvious typo: use CD_MASK_CUSTOMLOOPNORMAL for CustomDataMask.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_normal_edit.c | 2 | ||||
-rw-r--r-- | 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; |