diff options
author | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-04 21:08:12 +0300 |
---|---|---|
committer | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-04 21:08:12 +0300 |
commit | 710d2def6509d2c993cb96f42eb1a97ccc60bfcf (patch) | |
tree | b22dad4d6a7210321cbacefc19513af87abbc905 /source/blender | |
parent | 435d731c6fcc5ea106264317bc5c669ebc27ad7f (diff) |
Initialized normal data in BevMod
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_bevel.c | 2 |
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) |