real fix for booleans and face shading this time.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 20 Mar 2012 01:33:24 +0000 (01:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 20 Mar 2012 01:33:24 +0000 (01:33 +0000)
commitdeea1f38b1ec0ccba283abeb63506cbc15e093d5
treee68b4f80eef7a228e169ec19e57ffa2034c8b892
parentfcd5550a4248e00bbfb739352718d211b73259df
real fix for booleans and face shading this time.

CDDM_tessfaces_to_faces wasbt updating the polyindex (missed incrementing the polyindex pointer).

also added an assert so non release builds will complain when CDDM_calc_edges_tessface() needs to run before CDDM_tessfaces_to_faces().
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/modifiers/intern/MOD_boolean_util.c