diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-23 16:28:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-23 16:28:18 +0400 |
commit | 13e778893bd20af4a742df9cd506327b1c9c2d23 (patch) | |
tree | 6e96122b39422a6e85f435e12ff6267fa223ce7c /source/blender | |
parent | e164cddc4317184898ca1eb9f39d106f194207ff (diff) |
Fix #30320: Shading issue with boolean modifier
Seems that after converting tessfaces into faces normals should be re-calculated.
At least that's what happening in some other modifiers and what makes boolean
work fine with smooth normals.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_boolean_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean_util.c b/source/blender/modifiers/intern/MOD_boolean_util.c index 510179c01d7..551f501b1d0 100644 --- a/source/blender/modifiers/intern/MOD_boolean_util.c +++ b/source/blender/modifiers/intern/MOD_boolean_util.c @@ -466,6 +466,7 @@ static DerivedMesh *ConvertCSGDescriptorsToDerivedMesh( CDDM_calc_edges_tessface(result); CDDM_tessfaces_to_faces(result); /*builds ngon faces from tess (mface) faces*/ + CDDM_calc_normals(result); return result; } |