Commit: 8fe651325c9726b4b3f938780b35879a8a40449f
Author: Martin Felke
Date:   Sat Jun 10 21:58:25 2017 +0200
Branches: fracture_modifier
https://developer.blender.org/rB8fe651325c9726b4b3f938780b35879a8a40449f

recalc normals when merging (distance>0) and not using fix normals

===================================================================

M       source/blender/modifiers/intern/MOD_fracture.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_fracture.c 
b/source/blender/modifiers/intern/MOD_fracture.c
index 1119341ccac..c96b91d6441 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -3445,6 +3445,11 @@ static DerivedMesh *do_autoHide(FractureModifierData 
*fmd, DerivedMesh *dm, Obje
                }
        }
 
+       if (fmd->automerge_dist > 0 && !fmd->fix_normals)
+       {
+               BM_mesh_normals_update(bm);
+       }
+
        result = CDDM_from_bmesh(bm, true);
        BM_mesh_free(bm);
        MEM_freeN(faces);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to