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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user