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
path: root/source
diff options
context:
space:
mode:
authorRohan Rathi <rohanrathi08@gmail.com>2018-08-04 21:08:12 +0300
committerRohan Rathi <rohanrathi08@gmail.com>2018-08-04 21:08:12 +0300
commit710d2def6509d2c993cb96f42eb1a97ccc60bfcf (patch)
treeb22dad4d6a7210321cbacefc19513af87abbc905 /source
parent435d731c6fcc5ea106264317bc5c669ebc27ad7f (diff)
Initialized normal data in BevMod
Diffstat (limited to 'source')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c
index 3db4089138b..152fee9eb77 100644
--- a/source/blender/modifiers/intern/MOD_bevel.c
+++ b/source/blender/modifiers/intern/MOD_bevel.c
@@ -70,7 +70,9 @@ static void initData(ModifierData *md)
bmd->profile = 0.5f;
bmd->bevel_angle = DEG2RADF(30.0f);
bmd->defgrp_name[0] = '\0';
+ bmd->hnmode = MOD_BEVEL_HN_NONE;
bmd->hn_strength = 0.5f;
+ bmd->clnordata.faceHash = NULL;
}
static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md)