[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44371] trunk/blender/source/blender/ modifiers/intern/MOD_boolean_util.c: Fix #30320: Shading issue with boolean modifier
Sergey Sharybin
sergey.vfx at gmail.com
Thu Feb 23 13:28:21 CET 2012
Revision: 44371
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44371
Author: nazgul
Date: 2012-02-23 12:28:18 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/source/blender/modifiers/intern/MOD_boolean_util.c
Modified: trunk/blender/source/blender/modifiers/intern/MOD_boolean_util.c
===================================================================
--- trunk/blender/source/blender/modifiers/intern/MOD_boolean_util.c 2012-02-23 12:11:27 UTC (rev 44370)
+++ trunk/blender/source/blender/modifiers/intern/MOD_boolean_util.c 2012-02-23 12:28:18 UTC (rev 44371)
@@ -466,6 +466,7 @@
CDDM_calc_edges_tessface(result);
CDDM_tessfaces_to_faces(result); /*builds ngon faces from tess (mface) faces*/
+ CDDM_calc_normals(result);
return result;
}
More information about the Bf-blender-cvs
mailing list