Commit: 710d2def6509d2c993cb96f42eb1a97ccc60bfcf
Author: Rohan Rathi
Date:   Sat Aug 4 23:38:12 2018 +0530
Branches: soc-2018-bevel
https://developer.blender.org/rB710d2def6509d2c993cb96f42eb1a97ccc60bfcf

Initialized normal data in BevMod

===================================================================

M       source/blender/modifiers/intern/MOD_bevel.c

===================================================================

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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to