Fix for boolean modifier:

----------------------------------------------
Patch for making faces stop dissapearing when
using the boolean modifier submitted by 
howardt in IRC.
This commit is contained in:
2011-06-22 00:39:14 +00:00
parent 1bb763922d
commit 352c0ba387
2 changed files with 2 additions and 2 deletions

View File

@@ -434,9 +434,9 @@ static DerivedMesh *ConvertCSGDescriptorsToDerivedMesh(
BLI_ghash_free(material_hash, NULL, NULL);
CDDM_calc_edges(result);
CDDM_calc_normals(result);
dm = CDDM_copy(result, 1); /*builds ngon faces from tess (mface) faces*/
CDDM_calc_normals(dm);
result->needsFree = 1;
result->release(result);

View File

@@ -184,7 +184,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob),
MEM_freeN(lod.triangle_index_buffer);
dm = CDDM_copy(result, 1); /*builds ngon faces from tess (mface) faces*/
CDDM_calc_normals(result);
CDDM_calc_normals(dm);
result->needsFree = 1;
result->release(result);