[Bf-blender-cvs] [8fa16411e61] blender2.8: Fix an obvious typo: use CD_MASK_CUSTOMLOOPNORMAL for CustomDataMask.
Alexander Gavrilov
noreply at git.blender.org
Mon Oct 15 11:29:03 CEST 2018
Commit: 8fa16411e619a97b772b6bdb98a2726441ef69dc
Author: Alexander Gavrilov
Date: Mon Oct 15 12:27:35 2018 +0300
Branches: blender2.8
https://developer.blender.org/rB8fa16411e619a97b772b6bdb98a2726441ef69dc
Fix an obvious typo: use CD_MASK_CUSTOMLOOPNORMAL for CustomDataMask.
===================================================================
M source/blender/modifiers/intern/MOD_normal_edit.c
M source/blender/modifiers/intern/MOD_weighted_normal.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list