diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 13:38:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 13:38:38 +0400 |
commit | 7d9f0bfe76fd3cd1a372d74c619a79c3b3213eaa (patch) | |
tree | 7b4946ad44f8d295b59e41cf3f899e80b7ac6df7 /source/blender/modifiers/intern/MOD_bevel.c | |
parent | 3fab018da48a485f56c68c5eca07d35430ef351c (diff) |
fix [#30598] Bad 3D view display & render with smooth mesh
Sergey's suggestion - just call calc normals fixes.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_bevel.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_bevel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c index 4bfcd86733c..95447302d6c 100644 --- a/source/blender/modifiers/intern/MOD_bevel.c +++ b/source/blender/modifiers/intern/MOD_bevel.c @@ -189,6 +189,10 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob), BMEdit_Free(em); MEM_freeN(em); + /* until we allow for dirty normal flag, always calc, + * note: calculating on the CDDM is faster then the BMesh equivalent */ + CDDM_calc_normals(result); + return result; } |