[Bf-blender-cvs] [b82de8463bf] fracture_modifier: do not set edges of selected faces to sharp in external mode

Martin Felke noreply at git.blender.org
Mon Jun 25 16:51:06 CEST 2018

Commit: b82de8463bf767376f664a17e663b08eb7bb23d0
Author: Martin Felke
Date:   Mon Jun 25 16:50:42 2018 +0200
Branches: fracture_modifier

do not set edges of selected faces to sharp in external mode

because in most cases only existing objects are packed into the FM mesh, and no fracturing happens,
where you want to set fracture edges to sharp.


M	source/blender/blenkernel/intern/fracture.c


diff --git a/source/blender/blenkernel/intern/fracture.c b/source/blender/blenkernel/intern/fracture.c
index 9c04523ea04..824f8ab8c71 100644
--- a/source/blender/blenkernel/intern/fracture.c
+++ b/source/blender/blenkernel/intern/fracture.c
@@ -2364,7 +2364,10 @@ static DerivedMesh *create_dm(FractureModifierData *fmd, bool doCustomData, bool
-	do_marking(fmd, result);
+	if (fmd->fracture_mode != MOD_FRACTURE_EXTERNAL)
+	{
+		do_marking(fmd, result);
+	}
 	result->dirty |= DM_DIRTY_NORMALS;

More information about the Bf-blender-cvs mailing list