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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-26 13:38:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-26 13:38:38 +0400
commit7d9f0bfe76fd3cd1a372d74c619a79c3b3213eaa (patch)
tree7b4946ad44f8d295b59e41cf3f899e80b7ac6df7 /source/blender/modifiers/intern
parent3fab018da48a485f56c68c5eca07d35430ef351c (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')
-rw-r--r--source/blender/modifiers/intern/MOD_bevel.c4
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;
}